summaryrefslogtreecommitdiffstats
path: root/app/controllers/my_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-19 10:30:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-19 10:30:02 +0000
commit124a459d55858cecd65e57ae7f312d99bcbcbb96 (patch)
tree090e11125e905e9ede7534c3e80c4521d14ba301 /app/controllers/my_controller.rb
parent33d78d605d0b6582512b5bca24c087730635e928 (diff)
downloadredmine-124a459d55858cecd65e57ae7f312d99bcbcbb96.tar.gz
redmine-124a459d55858cecd65e57ae7f312d99bcbcbb96.zip
Use the main menu for project related actions that support cross-project display.
git-svn-id: http://svn.redmine.org/redmine/trunk@15983 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/my_controller.rb')
-rw-r--r--app/controllers/my_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb
index 5cf677a2d..be1c3c36d 100644
--- a/app/controllers/my_controller.rb
+++ b/app/controllers/my_controller.rb
@@ -16,6 +16,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class MyController < ApplicationController
+ self.main_menu = false
before_action :require_login
# let user change user's password when user has to
skip_before_action :check_password_change, :only => :password