framework/ember/app/routes/application.js

30 lines
618 B
JavaScript
Raw Normal View History

2014-12-20 14:26:46 +08:00
import Ember from 'ember';
// import ApplicationRouteMixin from 'simple-auth/mixins/application-route-mixin';
2014-12-20 14:26:46 +08:00
// export default Ember.Route.extend(ApplicationRouteMixin, {
2014-12-20 14:26:46 +08:00
// actions: {
2014-12-20 14:26:46 +08:00
// login: function() {
// return this.render('login', {
// into: 'application',
// outlet: 'modal'
// });
// },
2014-12-20 14:26:46 +08:00
// doLogin: function() {
// this.get('session').authenticate('authenticator:custom', {});
// },
2014-12-20 14:26:46 +08:00
// closeModal: function() {
// return this.disconnectOutlet({
// outlet: 'modal',
// parentView: 'application'
// });
// }
2014-12-20 14:26:46 +08:00
// }
2014-12-20 14:26:46 +08:00
// });
export default Ember.Route.extend();