diff options
| author | hukl <contact@smyck.org> | 2009-04-13 20:37:16 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-04-13 20:37:16 +0200 |
| commit | 06dee9ab33701e40a5adfcf87767fb807621fa32 (patch) | |
| tree | 73a7fc1307dcd2f9e41a42d575511bda1b5c0296 /config | |
| parent | 22aa8523ef5864d736faf6595ef258adc0689703 (diff) | |
beautified the revision and diff interface. so pretty and so functional. i'm happy
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb index 11ca34c..38f508a 100644 --- a/config/routes.rb +++ b/config/routes.rb | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | ActionController::Routing::Routes.draw do |map| | 1 | ActionController::Routing::Routes.draw do |map| |
| 2 | map.resources :occurrences | ||
| 3 | 2 | ||
| 4 | map.resources :events | ||
| 5 | 3 | ||
| 4 | map.filter :locale | ||
| 5 | |||
| 6 | map.root( | 6 | map.root( |
| 7 | :locale => 'de', | 7 | :locale => 'de', |
| 8 | :controller => 'content', | 8 | :controller => 'content', |
| @@ -10,8 +10,9 @@ ActionController::Routing::Routes.draw do |map| | |||
| 10 | :page_path => ['home'] | 10 | :page_path => ['home'] |
| 11 | ) | 11 | ) |
| 12 | 12 | ||
| 13 | map.filter :locale | 13 | map.resources :occurrences |
| 14 | 14 | map.resources :events | |
| 15 | map.resources :revisions, :member => {:diff => :post} | ||
| 15 | map.resources :pages | 16 | map.resources :pages |
| 16 | map.resources :nodes, :member => {:publish => :put, :unlock => :put} | 17 | map.resources :nodes, :member => {:publish => :put, :unlock => :put} |
| 17 | map.logout '/logout', :controller => 'sessions', :action => 'destroy' | 18 | map.logout '/logout', :controller => 'sessions', :action => 'destroy' |
