diff --git a/app/assets/javascripts/discourse/app/routes/application.js b/app/assets/javascripts/discourse/app/routes/application.js index 558ab27bc11..f26b798225a 100644 --- a/app/assets/javascripts/discourse/app/routes/application.js +++ b/app/assets/javascripts/discourse/app/routes/application.js @@ -51,10 +51,6 @@ const ApplicationRoute = DiscourseRoute.extend(OpenComposer, { mobile.toggleMobileView(); }, - toggleSidebar() { - this.controllerFor("application").send("toggleSidebar"); - }, - logout: unlessReadOnly( "_handleLogout", I18n.t("read_only_mode.logout_disabled") diff --git a/app/assets/javascripts/discourse/app/templates/components/sidebar.hbs b/app/assets/javascripts/discourse/app/templates/components/sidebar.hbs index 1a082baaf82..31cda7a3058 100644 --- a/app/assets/javascripts/discourse/app/templates/components/sidebar.hbs +++ b/app/assets/javascripts/discourse/app/templates/components/sidebar.hbs @@ -1,6 +1,6 @@ diff --git a/app/assets/javascripts/discourse/app/templates/components/sidebar/hamburger-dropdown.hbs b/app/assets/javascripts/discourse/app/templates/components/sidebar/hamburger-dropdown.hbs index 7a55b9013f3..3167355bc97 100644 --- a/app/assets/javascripts/discourse/app/templates/components/sidebar/hamburger-dropdown.hbs +++ b/app/assets/javascripts/discourse/app/templates/components/sidebar/hamburger-dropdown.hbs @@ -4,7 +4,7 @@