Revert "Tasks should be default page in foodcoop module."
This reverts commit b5b27cee6e
.
This commit is contained in:
parent
b5b27cee6e
commit
20c7c0ef02
2 changed files with 4 additions and 4 deletions
|
@ -8,14 +8,14 @@
|
||||||
{ :name => "Mein Profil", :url => "/home/profile"}
|
{ :name => "Mein Profil", :url => "/home/profile"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{ :name => "Foodcoop", :url => "/foodcoop",
|
{ :name => "Foodcoop", :url => "/tasks",
|
||||||
:active => ["foodcoop", "tasks", "messages", "foodcoop/ordergroups", "foodcoop/workgroups", "foodcoop/users"],
|
:active => ["foodcoop", "tasks", "messages", "foodcoop/ordergroups", "foodcoop/workgroups", "foodcoop/users"],
|
||||||
:subnav => [
|
:subnav => [
|
||||||
{ :name => "Aufgaben", :url => "/tasks"},
|
|
||||||
{ :name => "Mitglieder", :url => "/foodcoop/users"},
|
{ :name => "Mitglieder", :url => "/foodcoop/users"},
|
||||||
{ :name => "Abeitsgruppen", :url => "/foodcoop/workgroups"},
|
{ :name => "Abeitsgruppen", :url => "/foodcoop/workgroups"},
|
||||||
{ :name => "Bestellgruppen", :url => "/foodcoop/ordergroups"},
|
{ :name => "Bestellgruppen", :url => "/foodcoop/ordergroups"},
|
||||||
{ :name => "Nachrichten", :url => "/messages"}
|
{ :name => "Nachrichten", :url => "/messages"},
|
||||||
|
{ :name => "Aufgaben", :url => "/tasks"}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{ :name => "Wiki", :url => "/wiki", :active => ["pages", "wiki"],
|
{ :name => "Wiki", :url => "/wiki", :active => ["pages", "wiki"],
|
||||||
|
|
|
@ -16,7 +16,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||||
map.resources :invites, :only => [:new, :create]
|
map.resources :invites, :only => [:new, :create]
|
||||||
|
|
||||||
map.namespace :foodcoop do |foodcoop|
|
map.namespace :foodcoop do |foodcoop|
|
||||||
foodcoop.root :controller => "tasks", :action => "index"
|
foodcoop.root :controller => "users", :action => "index"
|
||||||
foodcoop.resources :users, :only => [:index]
|
foodcoop.resources :users, :only => [:index]
|
||||||
foodcoop.resources :ordergroups, :only => [:index]
|
foodcoop.resources :ordergroups, :only => [:index]
|
||||||
foodcoop.resources :workgroups, :only => [:index, :edit, :update],
|
foodcoop.resources :workgroups, :only => [:index, :edit, :update],
|
||||||
|
|
Loading…
Reference in a new issue