Skip to content

Instantly share code, notes, and snippets.

@gintsgints
Created January 5, 2014 03:27
Show Gist options
  • Save gintsgints/8263924 to your computer and use it in GitHub Desktop.
Save gintsgints/8263924 to your computer and use it in GitHub Desktop.
module.exports = App.Router.map(function() {
this.resource("companies", function() {
this.resource("company", {path: 'view/:company_id'}, function () {
this.route('edit');
});
this.route("new");
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment