diff options
| author | hukl <contact@smyck.org> | 2009-08-08 15:38:20 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-08-08 15:38:20 +0200 |
| commit | 8345fb8001e82b145b9ce4c8558d4d4712ebad60 (patch) | |
| tree | 31f101301238e1f9f5661941f747029730d6e200 /config | |
| parent | 397bee72fa5bccf64d09eeb77b5ee0000aabfdb4 (diff) | |
added menu items resource
Diffstat (limited to 'config')
| -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 0f27d27..7b204a1 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -19,6 +19,7 @@ ActionController::Routing::Routes.draw do |map| | |||
| 19 | map.login '/login', :controller => 'sessions', :action => 'new' | 19 | map.login '/login', :controller => 'sessions', :action => 'new' |
| 20 | map.admin_search 'admin/search', :controller => 'admin', :action => 'search' | 20 | map.admin_search 'admin/search', :controller => 'admin', :action => 'search' |
| 21 | map.resources :users | 21 | map.resources :users |
| 22 | map.resources :menu_items | ||
| 22 | map.resource :session | 23 | map.resource :session |
| 23 | 24 | ||
| 24 | map.connect ':controller/:action/:id' | 25 | map.connect ':controller/:action/:id' |
