make project page as homepage

Added by Vasily Bezruchkin almost 7 years ago

Greetings,

Let me thank you for the great software.

I have one question though. I have only one project in my redmine installation and I would like the home page to redirect to the project page specifically. See the example:

http://dev.esyndicat.com/

I want it to display:
http://dev.esyndicat.com/projects/esyndicat

I use 2.0.3 version. 1.x instructions don't work for this version.

Thanks in advance for your advise!

Replies (8)

RE: make project page as homepage - Added by Nicolas Vandermeirsch almost 7 years ago

Try the following, it works for us on Redmine 2.0.0:

In redmine/config/route.rb comment out the following line:

root :to => 'welcome#index', :as => 'home'

and add:

root :controller => 'projects', :action => 'show', :id => 'my_project_id', :as => 'home'

Let me know if it works for you.

RE: make project page as homepage - Added by Vasily Bezruchkin almost 7 years ago

Thanks. It worked fine! Exactly what I expect to see :)

RE: make project page as homepage - Added by Bruno Spyckerelle over 6 years ago

To point to a wiki page of your project :

root :controller => 'wiki', :action => 'show', :id => 'wiki_page', :project_id => 'project_id', :as => 'home'

RE: make project page as homepage - Added by Vasily Bezruchkin over 6 years ago

Thank a lot, Bruno. It also worked fine.

I've just upgraded to Redmine 2.1.4.stable and your instructions worked fine. Thanks again!

RE: make project page as homepage - Added by R P over 4 years ago

Just applied the same hack to 2.6.2 and it still works.

Thanks!

RE: make project page as homepage - Added by [ Desperados ] over 4 years ago

it works for me too with redmine 2.6.3
it doesn't work with landing_page plugin

RE: make project page as homepage - Added by Super Engineer almost 4 years ago

Redmine 3.0

root :to => 'welcome#index', :as => 'home'

to

root :to => 'projects', :as => 'home'

doesn't work. Redmine crashes.

Whats the right line to set /projects to the Start-Page?

best,
SE64

RE: make project page as homepage - Added by Elisa D. over 3 years ago

You have to add 'index' action.

root :to => 'projects#index', :as => 'home'

(1-8/8)