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
|
%li
|
||||||
Finanzbereich
|
Finanzbereich
|
||||||
%ul
|
%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
|
%li= link_to "Bestellungen abrechnen", finance_root_path
|
||||||
|
|
||||||
// Administration
|
// Administration
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
:active => ["articles", "suppliers", "deliveries", "article_categories", "stockit", "stock_takings"],
|
:active => ["articles", "suppliers", "deliveries", "article_categories", "stockit", "stock_takings"],
|
||||||
:access_denied? => (!u.role_article_meta? && !u.role_suppliers?),
|
:access_denied? => (!u.role_article_meta? && !u.role_suppliers?),
|
||||||
:subnav => [
|
:subnav => [
|
||||||
{ :name => "Artikel", :url => supplier_articles_path(Supplier.first) },
|
{ :name => "Artikel", :url => suppliers_path },
|
||||||
{ :name => "Lager", :url => stock_articles_path },
|
{ :name => "Lager", :url => stock_articles_path },
|
||||||
{ :name => "Lieferantinnen", :url => suppliers_path, :access_denied? => (!u.role_suppliers?) },
|
{ :name => "Lieferantinnen", :url => suppliers_path, :access_denied? => (!u.role_suppliers?) },
|
||||||
{ :name => "Kategorien", :url => article_categories_path }
|
{ :name => "Kategorien", :url => article_categories_path }
|
||||||
|
|
|
@ -63,7 +63,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||||
finance.root :controller => 'balancing'
|
finance.root :controller => 'balancing'
|
||||||
finance.balancing "balancing/list", :controller => 'balancing', :action => 'list'
|
finance.balancing "balancing/list", :controller => 'balancing', :action => 'list'
|
||||||
finance.resources :invoices
|
finance.resources :invoices
|
||||||
finance.resources :transactions
|
finance.resources :transactions, :collection => {:new_collection => :get, :create_collection => :post}
|
||||||
end
|
end
|
||||||
|
|
||||||
# Administration
|
# Administration
|
||||||
|
|
Loading…
Reference in a new issue