Fixed broken links/paths.
This commit is contained in:
parent
00d9f060cc
commit
7067294133
3 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@
|
|||
%li
|
||||
Finanzbereich
|
||||
%ul
|
||||
%li= link_to "Konten aktualisieren", :controller => 'finance/transactions', :action => 'new_collection'
|
||||
%li= link_to "Konten aktualisieren", new_collection_finance_transactions_path
|
||||
%li= link_to "Bestellungen abrechnen", finance_root_path
|
||||
|
||||
// Administration
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
:active => ["articles", "suppliers", "deliveries", "article_categories", "stockit", "stock_takings"],
|
||||
:access_denied? => (!u.role_article_meta? && !u.role_suppliers?),
|
||||
:subnav => [
|
||||
{ :name => "Artikel", :url => supplier_articles_path(Supplier.first) },
|
||||
{ :name => "Artikel", :url => suppliers_path },
|
||||
{ :name => "Lager", :url => stock_articles_path },
|
||||
{ :name => "Lieferantinnen", :url => suppliers_path, :access_denied? => (!u.role_suppliers?) },
|
||||
{ :name => "Kategorien", :url => article_categories_path }
|
||||
|
|
|
@ -63,7 +63,7 @@ ActionController::Routing::Routes.draw do |map|
|
|||
finance.root :controller => 'balancing'
|
||||
finance.balancing "balancing/list", :controller => 'balancing', :action => 'list'
|
||||
finance.resources :invoices
|
||||
finance.resources :transactions
|
||||
finance.resources :transactions, :collection => {:new_collection => :get, :create_collection => :post}
|
||||
end
|
||||
|
||||
# Administration
|
||||
|
|
Loading…
Reference in a new issue