diff --git a/app/views/devise/mailer/confirmation_instructions.html.haml b/app/views/devise/mailer/confirmation_instructions.html.haml index 6892d9b3b..f8a275dba 100644 --- a/app/views/devise/mailer/confirmation_instructions.html.haml +++ b/app/views/devise/mailer/confirmation_instructions.html.haml @@ -25,7 +25,7 @@ %p We'd also appreciate it if you'd read our = succeed "," do - = link_to 'Community Guidelines', '#{root_url}/policy/community' + = link_to 'Community Guidelines', "#{root_url}/policy/community" and make sure you follow them. We want #{site_name} to be a friendly, welcoming environment for everyone, and we hope you'll help us keep it that way. diff --git a/app/views/devise/registrations/new.html.haml b/app/views/devise/registrations/new.html.haml index f15142bb0..3ec01a0ef 100644 --- a/app/views/devise/registrations/new.html.haml +++ b/app/views/devise/registrations/new.html.haml @@ -31,7 +31,7 @@ = f.check_box :tos_agreement I agree to the = succeed "." do - = link_to 'Terms of Service', url_for(:action => 'tos', :controller => '/policy') + = link_to 'Terms of Service', "#{root_url}/policy/tos" .form-group .col-md-offset-2.col-md-8.checkbox %label