Created
November 3, 2014 20:31
-
-
Save iammerrick/5f6e00091d8040fef155 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
var routes = Routes(null, | |
Route({ name:'Home', path:'/', handler:AppHandler }, | |
Route({ name:'Stack', path:'/stack/:id', handler:StackHandler, stackService:new StackService(), cardService:new CardService()}), | |
Route({ name:'Card', path:'/card/:id', handler:CardHandler, cardService:new CardService()}), | |
DefaultRoute({handler:NavigationHandler, navigationService:new NavigationService()}) | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment