Project

General

Profile

« Previous | Next » 

Revision 9528

Merged rails-3.2 branch.

View differences:

redmine.rb
205 205
  menu.push :boards, { :controller => 'boards', :action => 'index', :id => nil }, :param => :project_id,
206 206
              :if => Proc.new { |p| p.boards.any? }, :caption => :label_board_plural
207 207
  menu.push :files, { :controller => 'files', :action => 'index' }, :caption => :label_file_plural, :param => :project_id
208
  menu.push :repository, { :controller => 'repositories', :action => 'show' },
208
  menu.push :repository, { :controller => 'repositories', :action => 'show', :repository_id => nil, :path => nil, :rev => nil },
209 209
              :if => Proc.new { |p| p.repository && !p.repository.new_record? }
210 210
  menu.push :settings, { :controller => 'projects', :action => 'settings' }, :last => true
211 211
end

Also available in: Unified diff