Roughing in users resource

This commit is contained in:
Matthew Dillon 2015-04-10 11:51:22 -08:00
parent 3f0b074619
commit 5048fb7695
11 changed files with 154 additions and 2 deletions

4
app/routes/users.js Normal file
View file

@ -0,0 +1,4 @@
import Ember from 'ember';
import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';
export default Ember.Route.extend(AuthenticatedRouteMixin);

View file

@ -0,0 +1,7 @@
import Ember from 'ember';
export default Ember.Route.extend({
model: function() {
return this.store.findAll('user');
}
});