summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 96d56de..15ce385 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -2,7 +2,7 @@ ActionController::Routing::Routes.draw do |map|
2 map.resources :pages 2 map.resources :pages
3 3
4 4
5 map.connect ':language/*pagepath', 5 map.connect ':language/*page_path',
6 :controller => 'content', :action => 'render_page', 6 :controller => 'content', :action => 'render_page',
7 :requirements => {:language => /\w{2}/} 7 :requirements => {:language => /\w{2}/}
8 8