diff options
| author | hukl <hukl@eight.local> | 2009-02-08 14:06:03 +0100 |
|---|---|---|
| committer | hukl <hukl@eight.local> | 2009-02-08 14:06:03 +0100 |
| commit | 56e1df622f8cb6fb558b83fc4d2836ad0aece7d7 (patch) | |
| tree | 7cef4583f4b025847f4e0ce506fff8fc082ef30c /config/routes.rb | |
| parent | 1a6516c7c8103fb63e7e11134e0fd8ff9f26d6fe (diff) | |
added nodes controller and made it a resource.
since the node is the proxy for the pages behind
it, it makes sense to operate on nodes rather than
on the pages themselves.
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 15ce385..c436b00 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | ActionController::Routing::Routes.draw do |map| | 1 | ActionController::Routing::Routes.draw do |map| |
| 2 | map.resources :pages | 2 | map.resources :pages |
| 3 | map.resources :nodes | ||
| 3 | 4 | ||
| 4 | 5 | ||
| 5 | map.connect ':language/*page_path', | 6 | map.connect ':language/*page_path', |
