test/config/routes.rb in locale_rails-2.0.4 vs test/config/routes.rb in locale_rails-2.0.5
- old
+ new
@@ -1,7 +1,8 @@
ActionController::Routing::Routes.draw do |map|
map.resources :articles
- map.root :controller => :articles
+ map.root :controller => :articles, :collection => {:expire_cache => :get}
+
# The priority is based upon order of creation: first created -> highest priority.
# Sample of regular route:
# map.connect 'products/:id', :controller => 'catalog', :action => 'view'
# Keep in mind you can assign values other than :controller and :action