Skip to content

Commit

Permalink
Correct url generation for mail
Browse files Browse the repository at this point in the history
  • Loading branch information
feliciaan committed Jan 11, 2017
1 parent 241fa89 commit 6c214dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/registration_mailer/ticket.html.erb
Expand Up @@ -50,7 +50,7 @@
<p>If you have any problems, you can contact us via mail: <%= mail_to @registration.event.contact_email, @registration.event.contact_email %></p>

<% if @event.unsubscribe_option %>
<p>If you cannot come: <%= link_to "uitschrijven", unsubscribe_path(id: @registration.id, barcode: @registration.barcode) %></p>
<p>If you cannot come: <%= link_to "cancel", unsubscribe_event_registration_url(event_id: @registration.event.id, id: @registration.id, barcode: @registration.barcode) %></p>
<%end %>
<p>Kind regards,<br /><%= @registration.event.club.name %></p>

Expand Down

0 comments on commit 6c214dd

Please sign in to comment.