summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-04-13 20:37:16 +0200
committerhukl <contact@smyck.org>2009-04-13 20:37:16 +0200
commit06dee9ab33701e40a5adfcf87767fb807621fa32 (patch)
tree73a7fc1307dcd2f9e41a42d575511bda1b5c0296 /config
parent22aa8523ef5864d736faf6595ef258adc0689703 (diff)
beautified the revision and diff interface. so pretty and so functional. i'm happy
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb9
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 @@
1ActionController::Routing::Routes.draw do |map| 1ActionController::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'