Skip to content

Instantly share code, notes, and snippets.

@icemancast
Last active December 26, 2015 21:39
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 icemancast/7217940 to your computer and use it in GitHub Desktop.
Save icemancast/7217940 to your computer and use it in GitHub Desktop.
App.Router.map(function () {
this.resource('sams', { path: '/' });
this.resource('app', { path: '/app/:app_slug' });
this.resource('dashboard', { path: '/dashboard' }, function () {
this.route('user');
});
});
App.DashboardUser = Ember.View.extend({
templateName: 'user'
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment