Project

General

Profile

Change default home page for a wiki page not working since upgrade to 1.1.O version

Added by Vincent Terol about 13 years ago

I configured our redmine installation (1.0.3)to work as the redmine.org web site : defaut home page replaced by a wiki project home page using the following :
in route.rb :
map.home '', :controller => 'wiki', :id => 'myProject'

I upgraded to the 1.1.0 version, and applying the same modification in routes.rb, I get a 404 page instead my wiki page.
How can I solve this problem.

Many thanks

Vincent


Replies (5)

RE: Change default home page for a wiki page not working since upgrade to 1.1.O version - Added by Tomas Hildebrandt about 13 years ago

I have the same problem since the upgrade to Redmine 1.1.0.devel.4761 (MySQL). The forward to a single projects overview worked for me.

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

RE: Change default home page for a wiki page not working since upgrade to 1.1.O version - Added by Jerome Vanthournout about 13 years ago

The Tomas's proposal did not work for me. To get that working, I had to change route.rb as follow:

map.home '',  :action => 'show', :project_id => 'my_project_name', :controller => 'wiki'

RE: Change default home page for a wiki page not working since upgrade to 1.1.O version - Added by Tomas Hildebrandt about 13 years ago

As i said... the forward to the overview page of the project <my_project_name> works... but your solution soes not work in a 1.1.x redmine instance. Can you plz check your version?

RE: Change default home page for a wiki page not working since upgrade to 1.1.O version - Added by Jerome Vanthournout about 13 years ago

The solution I proposed works with the latest redmine version (i.e 1.1.1).

Jerome.

RE: Change default home page for a wiki page not working since upgrade to 1.1.O version - Added by Vincent Terol about 13 years ago

Many thanks for your answers : the solution proposed by Jerome works for me (using the 1.1.0 redmine version).

Best regards

Vincent

    (1-5/5)