From daa3c08706fc71ea2cd6b64a2402bc14c429f831 Mon Sep 17 00:00:00 2001 From: Cesy Date: Wed, 12 Aug 2015 14:45:53 +0000 Subject: [PATCH] Fixing broken links to pages that are now in CMS --- app/views/devise/mailer/confirmation_instructions.html.haml | 2 +- app/views/devise/registrations/new.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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