diff options
| author | hukl <contact@smyck.org> | 2009-06-13 15:42:30 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-06-13 15:42:30 +0200 |
| commit | d58e96eb5442d028d60ae37db8f59e9b96c4f169 (patch) | |
| tree | 80553881f23dc950c241f07cd86cac2e61c12527 /config | |
| parent | edd450502f74dcbe8175dfddee8b50d14424a390 (diff) | |
put the preview into the pages controller
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 7456b60..0f27d27 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -13,7 +13,7 @@ ActionController::Routing::Routes.draw do |map| | |||
| 13 | map.resources :occurrences | 13 | map.resources :occurrences |
| 14 | map.resources :events | 14 | map.resources :events |
| 15 | map.resources :revisions, :member => {:diff => :post, :restore => :put} | 15 | map.resources :revisions, :member => {:diff => :post, :restore => :put} |
| 16 | map.resources :pages | 16 | map.resources :pages, :member => {:preview => :get} |
| 17 | map.resources :nodes, :member => {:publish => :put, :unlock => :put} | 17 | map.resources :nodes, :member => {:publish => :put, :unlock => :put} |
| 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' |
