This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/users/new/route.js
2015-07-17 08:38:42 -08:00

15 lines
385 B
JavaScript

import Ember from 'ember';
import UnauthenticatedRouteMixin from 'simple-auth/mixins/unauthenticated-route-mixin';
export default Ember.Route.extend(UnauthenticatedRouteMixin, {
model: function() {
return Ember.RSVP.hash({
user: this.store.createRecord('user'),
});
},
setupController: function(controller, model) {
controller.setProperties(model);
},
});