@@ -7,7 +7,9 ActionController::Routing::Routes.draw do |map| | |||||
7 | # Keep in mind you can assign values other than :controller and :action |
|
7 | # Keep in mind you can assign values other than :controller and :action | |
8 |
|
8 | |||
9 | # Allow Redmine plugins to map routes and potentially override them |
|
9 | # Allow Redmine plugins to map routes and potentially override them | |
10 | Redmine::Hook.call_hook :routes, :map => map |
|
10 | Rails.plugins.each do |plugin| | |
|
11 | map.from_plugin plugin.name.to_sym | |||
|
12 | end | |||
11 |
|
13 | |||
12 | map.home '', :controller => 'welcome' |
|
14 | map.home '', :controller => 'welcome' | |
13 | map.signin 'login', :controller => 'account', :action => 'login' |
|
15 | map.signin 'login', :controller => 'account', :action => 'login' |
General Comments 0
You need to be logged in to leave comments.
Login now