From f90dca555247651c580f879a22d932f378a34ce9 Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 6 Sep 2009 19:35:12 +0200 Subject: added public search controller with corresponding view --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config') 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| map.logout '/logout', :controller => 'sessions', :action => 'destroy' map.login '/login', :controller => 'sessions', :action => 'new' map.admin_search 'admin/search', :controller => 'admin', :action => 'search' + map.search 'search', :controller => "search", :action => 'index' map.resources :users map.resources :menu_items, :member => {:sort => :post} map.resource :session -- cgit v1.3