Created
November 11, 2011 13:32
-
-
Save Draiken/1358010 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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