diff --git a/lib/redmine.rb b/lib/redmine.rb index 4348f0691..0ede4d1d8 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -267,7 +267,7 @@ Redmine::MenuManager.map :account_menu do |menu| menu.push :login, {:controller => 'account', :action => 'login'}, :if => Proc.new { !User.current.logged? } menu.push :register, {:controller => 'account', :action => 'register'}, :if => Proc.new { !User.current.logged? && Setting.self_registration? } # menu.push :my_account, { :controller => 'my', :action => 'account' }, :if => Proc.new { User.current.logged? } - menu.push :logout, {:controller => 'account', :action => 'logout'},: html => {:method => 'post'}, :if => Proc.new { User.current.logged? } + menu.push :logout, {:controller => 'account', :action => 'logout'}, :html => {:method => 'post'}, :if => Proc.new { User.current.logged? } end ########fq Redmine::MenuManager.map :bid_menu do |menu|