WIP New user signup
This commit is contained in:
parent
19359c341d
commit
a8fdff6be0
11 changed files with 79 additions and 4 deletions
8
app/pods/users/index/route.js
Normal file
8
app/pods/users/index/route.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
import Ember from 'ember';
|
||||
import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';
|
||||
|
||||
export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
||||
model: function() {
|
||||
return this.store.findAll('user');
|
||||
}
|
||||
});
|
3
app/pods/users/index/template.hbs
Normal file
3
app/pods/users/index/template.hbs
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{#each model as |user|}}
|
||||
{{user.email}}<br>
|
||||
{{/each}}
|
Reference in a new issue