Project

General

Profile

How to redirect to specific Project Overview Page

Added by Pierros Papadeas almost 14 years ago

Hi there!

I am trying to configure routes.rb to redirect the homepage of Redmine to a specific project overview page.

I am guessing that map.home is the line that I have to change...

I tried :

map.home 'projects/my_project_name', controller => 'welcome'

and:

map.home 'projects/:id', id => 'my_project_name' , controller => 'welcome'

and both did not work. The Redmine is asking for login in the first page and explicitly asking for the Projects Overview page gives a 404...

Any pointers?

For clarification, I want the redirection to happen before login. I am not interested in the after-login redirection. (not even a prompt to login page :P)

Thanks in advance...


Replies (2)

RE: How to redirect to specific Project Overview Page - Added by Beau Simensen over 13 years ago

Did you get this to work? I worked on something similar last night and I think this might be what you are looking for:

map.home '', :controller => 'projects', :action => 'show', :id => 'my_project_name'

RE: How to redirect to specific Project Overview Page - Added by Axel Müller over 13 years ago

Very glad that I found this post. This should really be a Wiki topic since there are most likely quite a few single project sites running redmine.

Axel

    (1-2/2)