router.map( function ( match ) {
match(’/’).to(’application’, function ( match ) {
match(’/home’).to(’home’);
match(’/profile’).to(’profile’, function(match) {
match(’/edit’).to(’editProfile’);
});
});
});

router.js
Micro Lib Used By Ember
App.Router.map(function() {
this.resource('home');
this.resource('profile', function () {
this.route('edit');
});
});

Ember.js

Action bubble