diff options
| author | hukl <contact@smyck.org> | 2009-06-10 23:21:39 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-06-10 23:21:39 +0200 |
| commit | 9c5108ffab6828562c5a976ddb92ac0ec459a9a3 (patch) | |
| tree | 267099b94b50395ed629460d26f4e5641619de08 /config | |
| parent | 45e067f1108748067b727a53e7826cebbb429792 (diff) | |
added basic ajax search interface. lots of css / js improvements needed but it seems to work quite okay for now. more on that tomorrow
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 3 | ||||
| -rw-r--r-- | config/sphinx.yml | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index bf4ba10..7456b60 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -1,8 +1,6 @@ | |||
| 1 | ActionController::Routing::Routes.draw do |map| | 1 | ActionController::Routing::Routes.draw do |map| |
| 2 | map.resources :assets | 2 | map.resources :assets |
| 3 | 3 | ||
| 4 | |||
| 5 | |||
| 6 | map.filter :locale | 4 | map.filter :locale |
| 7 | 5 | ||
| 8 | map.root( | 6 | map.root( |
| @@ -19,6 +17,7 @@ ActionController::Routing::Routes.draw do |map| | |||
| 19 | map.resources :nodes, :member => {:publish => :put, :unlock => :put} | 17 | map.resources :nodes, :member => {:publish => :put, :unlock => :put} |
| 20 | map.logout '/logout', :controller => 'sessions', :action => 'destroy' | 18 | map.logout '/logout', :controller => 'sessions', :action => 'destroy' |
| 21 | 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' | ||
| 22 | map.resources :users | 21 | map.resources :users |
| 23 | map.resource :session | 22 | map.resource :session |
| 24 | 23 | ||
diff --git a/config/sphinx.yml b/config/sphinx.yml new file mode 100644 index 0000000..3924be2 --- /dev/null +++ b/config/sphinx.yml | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | development: | ||
| 2 | enable_star: 1 | ||
| 3 | min_infix_len: 1 \ No newline at end of file | ||
