Second (last) part of multiple foodcoop installation.
* When before_filter select_foodcoop is activated, the database and configs will be loaded on each request. * Replaced APP_CONFIG with new Foodsoft.config method.
This commit is contained in:
parent
1c24127928
commit
ffc3adf907
18 changed files with 51 additions and 57 deletions
|
|
@ -6,4 +6,4 @@ Es wurden <%= @transaction.amount %> für "<%= @transaction.note %>" abgebucht,
|
|||
|
||||
Bitte zahlt so bald wie möglich wieder Geld ein, um das Gruppenkonto auszugleichen.
|
||||
|
||||
Viele Grüße von <%= APP_CONFIG[:name] %>
|
||||
Viele Grüße von <%= Foodsoft.config[:name] %>
|
||||
|
|
@ -9,6 +9,6 @@ Für Euch wurden die folgenden Artikel bestellt:
|
|||
<% end -%>
|
||||
Gesamtpreis: <%= @group_order.price %>
|
||||
|
||||
Bestellung online einsehen: <%= "#{APP_CONFIG[:base_url]}/ordering/my_order_result/#{@order.id}" %>
|
||||
Bestellung online einsehen: <%= "#{Foodsoft.config[:base_url]}/ordering/my_order_result/#{@order.id}" %>
|
||||
|
||||
Viele Grüße von <%= APP_CONFIG[:name] %>
|
||||
Viele Grüße von <%= Foodsoft.config[:name] %>
|
||||
|
|
@ -11,6 +11,6 @@ Aufgaben für die nächste Woche:
|
|||
<% end -%>
|
||||
<% end -%>
|
||||
|
||||
Meine Aufgaben: <%= APP_CONFIG[:base_url] %>/home/tasks
|
||||
Meine Aufgaben: <%= Foodsoft.config[:base_url] %>/home/tasks
|
||||
|
||||
Viele Grüße von <%= APP_CONFIG[:name] %>
|
||||
Viele Grüße von <%= Foodsoft.config[:name] %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue