My ember route is like this:
App.AdminRoute = Ember.Route.extend({
model: function(){
return this.store.find('user', {validated_timestamp: 'null'});
}
});
which return list of users like this:
User #1
User #2
User #3
User #4
I want to see user details when I click any of the user. Right now it display like this:
User #1
User #2
User #3
User #4
user_id: 1
email: test@gmail.com
first_name: test
last_name: dummy
But I want to under clicked user; like this:
User #1
user_id: 1
email: test@gmail.com
first_name: test
last_name: dummy
User #2
User #3
User #4
How do I do it in ember.js?