diff options
| author | hukl <contact@smyck.org> | 2009-09-06 19:35:12 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-06 19:35:12 +0200 |
| commit | f90dca555247651c580f879a22d932f378a34ce9 (patch) | |
| tree | 9804d294a92a32a38e5ac5cb3a6ced8ab1c5729e /config | |
| parent | 54543aeb8a1cebdffa96a6ac4b98baa6c1b8747d (diff) | |
added public search controller with corresponding view
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 c3b2e84..1706dad 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -18,6 +18,7 @@ ActionController::Routing::Routes.draw do |map| | |||
| 18 | map.logout '/logout', :controller => 'sessions', :action => 'destroy' | 18 | map.logout '/logout', :controller => 'sessions', :action => 'destroy' |
| 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.search 'search', :controller => "search", :action => 'index' | ||
| 21 | map.resources :users | 22 | map.resources :users |
| 22 | map.resources :menu_items, :member => {:sort => :post} | 23 | map.resources :menu_items, :member => {:sort => :post} |
| 23 | map.resource :session | 24 | map.resource :session |
