diff options
| author | hukl <hukl@eight.local> | 2009-02-01 14:40:01 +0100 |
|---|---|---|
| committer | hukl <hukl@eight.local> | 2009-02-01 14:40:01 +0100 |
| commit | d1f7fa66043bba01aea105637d21017124d061fd (patch) | |
| tree | b4a0ec18347d58f007d4c22b65080f90585344b6 /config | |
| parent | 28270cfda18a18841615c57d117cbea96db1c6ec (diff) | |
fixed routing issues
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 2 |
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 | ||
