summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/routes.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index b258fb2..6365186 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -9,10 +9,10 @@ ActionController::Routing::Routes.draw do |map|
9 map.resources :users 9 map.resources :users
10 map.resource :session 10 map.resource :session
11 11
12 map.connect ':controller/:action/:id'
13 map.connect ':controller/:action/:id.:format'
14
12 map.connect '/*page_path', 15 map.connect '/*page_path',
13 :controller => 'content', :action => 'render_page', 16 :controller => 'content', :action => 'render_page',
14 :requirements => {:language => /\w{2}/} 17 :requirements => {:language => /\w{2}/}
15
16 map.connect ':controller/:action/:id'
17 map.connect ':controller/:action/:id.:format'
18end 18end