Redmine 2.x support - Initial work

This commit is contained in:
Davis Zanetti Cabral
2012-10-23 02:26:09 -02:00
parent f42b419bf3
commit bc56e88e35
5 changed files with 31 additions and 41 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
ActionController::Routing::Routes.draw do |map|
map.resources :rates
map.connect 'rate_caches', :conditions => {:method => :put}, :controller => 'rate_caches', :action => 'update'
end
resources :rates
match 'rate_caches', :to => 'rate_caches#index', :via => "get"
match 'rate_caches', :to => 'rate_caches#update', :via => "put"