FEATURE: Full height hamburger menu

- Rename `site-map` to `hamburger-menu`
- Includes acceptance tests
This commit is contained in:
Robin Ward
2015-08-25 12:50:19 -04:00
parent 3faeeca5c8
commit c5460b7d3f
57 changed files with 399 additions and 322 deletions

View File

@ -13,7 +13,6 @@ function unlessReadOnly(method) {
}
const ApplicationRoute = Discourse.Route.extend(OpenComposer, {
siteTitle: setting('title'),
actions: {
@ -134,12 +133,12 @@ const ApplicationRoute = Discourse.Route.extend(OpenComposer, {
});
},
deleteSpammer: function (user) {
deleteSpammer(user) {
this.send('closeModal');
user.deleteAsSpammer(function() { window.location.reload(); });
},
checkEmail: function (user) {
checkEmail(user) {
user.checkEmail();
},
@ -150,7 +149,7 @@ const ApplicationRoute = Discourse.Route.extend(OpenComposer, {
this.render(w, {into: 'modal/topic-bulk-actions', outlet: 'bulkOutlet', controller: factory ? controllerName : 'topic-bulk-actions'});
},
createNewTopicViaParams: function(title, body, category_id, category) {
createNewTopicViaParams(title, body, category_id, category) {
this.openComposerWithParams(this.controllerFor('discovery/topics'), title, body, category_id, category);
}
},