From 7fb71d8cf98bd26473cd28cbf0a6220fb02eff43 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Mon, 13 Oct 2014 12:53:48 +0300 Subject: [PATCH] Make sure to specify a locale in the URL for the english version --- app/views/event_mailer/acceptance_notification.en.text.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/event_mailer/acceptance_notification.en.text.erb b/app/views/event_mailer/acceptance_notification.en.text.erb index a61c683..23f35c2 100644 --- a/app/views/event_mailer/acceptance_notification.en.text.erb +++ b/app/views/event_mailer/acceptance_notification.en.text.erb @@ -7,9 +7,9 @@ http://wwwt.openfest.org/en/schedule/ Please confirm your participation as soon as you can by following the following link: <% if @event.is_a? Lecture %> -<%= confirm_lecture_url(@event) %> +<%= confirm_lecture_url(@event, locale: 'en') %> <% elsif @event.is_a? Workshop %> -<%= confirm_workshop_url(@event) %> +<%= confirm_workshop_url(@event, locale: 'en') %> <% end %> Please respond to this email in case you have any questions.