Skip to content

Instantly share code, notes, and snippets.

@endash
Created February 12, 2014 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save endash/8963886 to your computer and use it in GitHub Desktop.
Save endash/8963886 to your computer and use it in GitHub Desktop.
App.Router.map(function() {
...
this.resource('lenses', function(){
this.route('index');
this.resource('lens', {path: '/:lens_id'}, function() {
this.route('technical_data');
this.route('grids');
this.route('angles_of_view');
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment