app.get('/admin', mojito.dispatch('admin.help'));
app.get('/:id/help', mojito.dispatch('admin.help'));
ac.url.make('admin.help', {}); => /admin
ac.url.make('admin.help', { id: 'foo' }); => /foo/help
Created
July 10, 2013 18:21
-
-
Save imalberto/5968764 to your computer and use it in GitHub Desktop.
specific use case for routing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment