Patch #15390 ยป redmine-subdirectory-route.patch
| config/routes.rb (working copy) | ||
|---|---|---|
|
# along with this program; if not, write to the Free Software
|
||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
# Uncomment and change the line below to set the relative url root
|
||
|
# Redmine::Utils::relative_url_root = "/redmine"
|
||
|
|
||
|
RedmineApp::Application.routes.draw do
|
||
|
scope ActionController::Base.relative_url_root do
|
||
|
root :to => 'welcome#index', :as => 'home'
|
||
|
match 'login', :to => 'account#login', :as => 'signin', :via => [:get, :post]
|
||
| ... | ... | |
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||