Skip to content

Instantly share code, notes, and snippets.

@Draiken
Created November 11, 2011 13:32
Show Gist options
  • Select an option

  • Save Draiken/1358010 to your computer and use it in GitHub Desktop.

Select an option

Save Draiken/1358010 to your computer and use it in GitHub Desktop.
class Collector.Controllers.Errors extends Backbone.Controller
routes: {
"errors" : "index",
"errors/:id" : "show"
}
index: ->
new Collector.Views.ErrorView(Collector.Collection.Errors.fetch())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment