Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know how one can change the default page of a given project in redmine? If I click on the project I get redirected to its "Overview" page. But I need to get redirected to the Issues page instead. How should I change the routes.rb to achieve that?

PS. Redmine 1.3.2.stable (SQLite)

share|improve this question

I have managed to change default landing page for ALL projects (so if you click any project name on projects list, then you are redirected to the issues page instead of overview). It works in my Redmine 1.3.3 and possibly in other versions.

The trick is to change the source file /usr/share/redmine/app/helpers/application_helper.rb

Find the function beginning with

def link_to_project(project, options={}, html_options = nil)

and change the line

url = {:controller => 'projects', :action => 'show', :id => project}.merge(options)


url = {:controller => 'issues', :action => 'index', :project_id => project}.merge(options) 

and that's it!

share|improve this answer

Another possible solution for this is to change the jump option on the projects combo-box (upper right combo-box). This way you will get to the issues pages of the project(s) you want and not ALL projects.

Edit the app/helpers/application_helper.rb file and look for the render_project_jump_box method.

Replace the options variable to jump to the issues page for the project you want (change 'ABC' to your project name in the code below):

options << project_tree_options_for_select(projects, :selected => @project) do |p|
    # adding the jump to issues on project ABC
    # (combo-box on the upper right side)
    if p.to_s == 'ABC' && current_menu_item.to_s != 'issues'
      { :value => project_path(:id => p, :jump => 'issues') }
      { :value => project_path(:id => p, :jump => current_menu_item) }

Now whenever you choose project 'ABC' from the projects combo-box, you will see the Issues page for project 'ABC', and not its Overview page.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .