Project

General

Profile

Welcome page as home page for users without access to specific project wiki

Added by Simon Z over 13 years ago

I have changed routes.rb and redmine.rb to set my home path to a wiki page instead of the default welcome page. Anyone that don't have access to that wiki will get an 404 page. I want users that don't have access to the wiki page to use the welcome page.
How do I accomplish that?

Current file changes that routes to specific project wiki (working).

routes.rb

# map.home '', :controller => 'welcome'
map.home '', :controller => 'wiki', :id => 'my project id'

redmine.rb

#menu.push :home, :home_path  
menu.push :home, :home_path, :html => { :controller => 'wiki', :id => 'my project id' }

Using redmine 1.0.3