diff options
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r-- | lib/redmine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index 156bc76c2..550cd7028 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -205,7 +205,7 @@ Redmine::MenuManager.map :project_menu do |menu| menu.push :boards, { :controller => 'boards', :action => 'index', :id => nil }, :param => :project_id, :if => Proc.new { |p| p.boards.any? }, :caption => :label_board_plural menu.push :files, { :controller => 'files', :action => 'index' }, :caption => :label_file_plural, :param => :project_id - menu.push :repository, { :controller => 'repositories', :action => 'show' }, + menu.push :repository, { :controller => 'repositories', :action => 'show', :repository_id => nil, :path => nil, :rev => nil }, :if => Proc.new { |p| p.repository && !p.repository.new_record? } menu.push :settings, { :controller => 'projects', :action => 'settings' }, :last => true end |