diff options
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 | ||
