Closed hojberg closed 11 years ago
By allowing options without a method we can add options to a sub set of routes:
Aviator.setRoutes({ '/users': { target: usersTarget, '/*': { options: { bartyMcFly: true }, '/:uuid': 'show', '/recent': 'listRecent' } });
@barnabyc @flahertyb
+1 render those cats
Nice!
By allowing options without a method we can add options to a sub set of routes:
@barnabyc @flahertyb