|
|
|
@ -254,7 +254,7 @@ end
|
|
|
|
|
Redmine::MenuManager.map :account_menu do |menu|
|
|
|
|
|
menu.push :login, :signin_path, :if => Proc.new { !User.current.logged? }
|
|
|
|
|
menu.push :register, :register_path, :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 :my_account, { :controller => 'my', :action => 'account' }, :if => Proc.new { User.current.logged? }
|
|
|
|
|
menu.push :logout, :signout_path, :html => {:method => 'post'}, :if => Proc.new { User.current.logged? }
|
|
|
|
|
end
|
|
|
|
|
########fq
|
|
|
|
|