Skip to content

Instantly share code, notes, and snippets.

@Draiken
Created November 11, 2011 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Draiken/1358010 to your computer and use it in GitHub Desktop.
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