@@ -6,6 +6,9 ActionController::Routing::Routes.draw do |map| | |||||
6 | # map.connect 'products/:id', :controller => 'catalog', :action => 'view' |
|
6 | # map.connect 'products/:id', :controller => 'catalog', :action => 'view' | |
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 | |||
|
10 | Redmine::Hook.call_hook :routes, :map => map | |||
|
11 | ||||
9 | map.home '', :controller => 'welcome' |
|
12 | map.home '', :controller => 'welcome' | |
10 | map.signin 'login', :controller => 'account', :action => 'login' |
|
13 | map.signin 'login', :controller => 'account', :action => 'login' | |
11 | map.signout 'logout', :controller => 'account', :action => 'logout' |
|
14 | map.signout 'logout', :controller => 'account', :action => 'logout' |
General Comments 0
You need to be logged in to leave comments.
Login now