This commit is contained in:
Richard Říman committed 2012-11-23 15:24:05 +01:00
commit 2a324d6dca
5 files changed
+31 -41

No files matched your search

+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"