From d1f7fa66043bba01aea105637d21017124d061fd Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 1 Feb 2009 14:40:01 +0100 Subject: fixed routing issues --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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| map.resources :pages - map.connect ':language/*pagepath', + map.connect ':language/*page_path', :controller => 'content', :action => 'render_page', :requirements => {:language => /\w{2}/} -- cgit v1.3