mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 12:16:09 +03:00
72156c7f89
fixes #3072 - Change router to handle /ember/setup/ - Adjust doSignup to also handle setup - Adjust tests and add new where necessary - Add setup controller, setup validation, setup route - Adjust casper emberSetup to handle new setup
12 lines
354 B
JavaScript
12 lines
354 B
JavaScript
var ApplicationController = Ember.Controller.extend({
|
|
isSignedIn: Ember.computed.bool('user.isSignedIn'),
|
|
hideNav: Ember.computed.match('currentPath', /(signin|signup|setup|forgotten|reset)/),
|
|
|
|
actions: {
|
|
toggleMenu: function () {
|
|
this.toggleProperty('showMenu');
|
|
}
|
|
}
|
|
});
|
|
|
|
export default ApplicationController; |