Project

General

Profile

Defect #34805 » 34805.diff

Felix Schäfer, 2021-02-25 17:48

View differences:

lib/redmine.rb
225 225
  menu.push :projects, {:controller => 'projects', :action => 'index'},
226 226
            :permission => nil,
227 227
            :caption => :label_project_plural
228
  menu.push :activity, {:controller => 'activities', :action => 'index'}
228
  menu.push :activity, {:controller => 'activities', :action => 'index', :id => nil}
229 229
  menu.push(
230 230
    :issues,
231 231
    {:controller => 'issues', :action => 'index'},
test/integration/lib/redmine/menu_manager_test.rb
126 126
    end
127 127
  end
128 128

  
129
  def test_cross_project_menu_should_link_to_global_activity
130
    log_user('dlopper', 'foo')
131
    get '/queries/3/edit'
132
    assert_select 'a.activity[href=?]', '/activity'
133
  end
134

  
129 135
  def test_project_menu_should_show_roadmap_if_subprojects_have_versions
130 136
    Version.delete_all
131 137
    # Create a version in the project "eCookbook Subproject 1"
    (1-1/1)