##// END OF EJS Templates
Removing the custom Redmine hook in routes in favor of Engine's hook....
Eric Davis -
r1989:81eee10d5b00
parent child
Show More
@@ -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