Removed hard coded links from mailer and views.
* Not tested every mail template. Hopefully everything works ;-)
This commit is contained in:
parent
2c1952d625
commit
f49c6493f4
9 changed files with 25 additions and 11 deletions
|
|
@ -15,4 +15,4 @@
|
|||
= text_field 'login', 'email'
|
||||
= submit_tag 'Neues Passwort anfordern'
|
||||
|
|
||||
= link_to 'Abbrechen', :action => 'login'
|
||||
= link_to 'Abbrechen', login_path
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@
|
|||
= form.password_field :password_confirmation
|
||||
= form.submit 'Speichern'
|
||||
|
|
||||
= link_to 'Abbrechen', :action => 'login'
|
||||
= link_to 'Abbrechen', login_path
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ Sofern Du Dich noch nicht für diese Aufgabe eingetragen hast ist das jetzt die
|
|||
<%= @task_url %>
|
||||
|
||||
--
|
||||
Deine Aufgaben: <%= Foodsoft.config[:base_url] %>/home/tasks
|
||||
Deine Aufgaben: <%= url_for(:controller => "home", :actions => "user") %>
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@ Für Euch wurden die folgenden Artikel bestellt:
|
|||
<% end -%>
|
||||
Gesamtpreis: <%= @group_order.price %>
|
||||
|
||||
Bestellung online einsehen: <%= "#{Foodsoft.config[:base_url]}/ordering/my_order_result/#{@order.id}" %>
|
||||
Bestellung online einsehen: <%= url_for(:controller => "ordering", :action => "my_order_result", :id => @order.id) %>
|
||||
|
||||
Viele Grüße von <%= Foodsoft.config[:name] %>
|
||||
|
|
@ -11,6 +11,6 @@ Aufgaben für die nächste Woche:
|
|||
<% end -%>
|
||||
<% end -%>
|
||||
|
||||
Meine Aufgaben: <%= Foodsoft.config[:base_url] %>/home/tasks
|
||||
Meine Aufgaben: <%= url_for(:controller => "home", :actions => "user") %>
|
||||
|
||||
Viele Grüße von <%= Foodsoft.config[:name] %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue