diff options
| author | hukl <hukl@eight.local> | 2009-01-31 13:05:48 +0100 |
|---|---|---|
| committer | hukl <hukl@eight.local> | 2009-01-31 13:05:48 +0100 |
| commit | 5b06d137fc6143ff679d1ce6048c4149ca23f4e2 (patch) | |
| tree | c2945a13eb3376aabb0d610804bf7a8f972793e7 /config | |
| parent | be83d467b5b6f92b0a6a175ee365d043f250d631 (diff) | |
connected page and node model + some minor tweaks
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index cbad5cc..96d56de 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | ActionController::Routing::Routes.draw do |map| | 1 | ActionController::Routing::Routes.draw do |map| |
| 2 | map.resources :pages | ||
| 3 | |||
| 2 | 4 | ||
| 3 | map.connect ':language/*pagepath', | 5 | map.connect ':language/*pagepath', |
| 4 | :controller => 'content', :action => 'render_page', | 6 | :controller => 'content', :action => 'render_page', |
