Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class ApplicationRouter extends Backbone.Router
ApplicationRouter.FEATURE_SPLASH_CURRENT_VERSION = 1
routes:
'' : '_index'
':workspaceId' : '_index'
':workspaceId/:type' : '_list'
':workspaceId/:type/:id' : '_detail'
':workspaceId/:type/:typeId/tasks/:taskId' : '_detail'
':workspaceId/projects/:projectId/activity' : '_activity'
':workspaceId/projects/:projectId/attachments': '_attachments'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment