From 97f87a510573ca53ca0c7bfeeaead981a01d5422 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 18 Feb 2016 14:50:05 -0200 Subject: [PATCH] Fix URL in new user activation code email --- app/views/user_mailer/activation_code.text.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/user_mailer/activation_code.text.erb b/app/views/user_mailer/activation_code.text.erb index f37b120..cdd6bf2 100644 --- a/app/views/user_mailer/activation_code.text.erb +++ b/app/views/user_mailer/activation_code.text.erb @@ -1,9 +1,9 @@ <%= _('Hi, %{recipient}!') % { :recipient => @recipient } %> -<%= word_wrap(_('Welcome to %{environment}! To activate your account, follow the link: %{activation_url}') % { :environment => @environment.name, :activation_url => @url + url_for(:controller => :account, :action => :activate, :activation_code => @activation_code, :redirection => @redirection, :join => @join) }) %> +<%= word_wrap(_('Welcome to %{environment}! To activate your account, follow the link: %{activation_url}') % { :environment => @environment.name, :activation_url => url_for(:controller => :account, :action => :activate, :activation_code => @activation_code, :redirection => @redirection, :join => @join) }) %> <%= _("Greetings,") %> -- <%= _('%s team.') % @environment.name %> -<%= url_for @url %> +<%= @url %> -- libgit2 0.21.2