Skip to content

Commit 774c7cb

Browse files
committed
we moved from /pages/ a long time ago.
1 parent 5caee0e commit 774c7cb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/views/refinery/inquiries/inquiries/_form.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
</div>
3131
<div class="actions">
3232
<%= f.submit t('.send') %>
33-
<%= link_to t('.privacy_policy'), "/pages/privacy-policy", :id => "privacy_link" if Refinery::Inquiries.show_contact_privacy_link %>
33+
<%= link_to t('.privacy_policy'), "/privacy-policy", :id => "privacy_link" if Refinery::Inquiries.show_contact_privacy_link %>
3434
</div>
3535
<% end %>

refinerycms-inquiries.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |s|
44
s.name = %q{refinerycms-inquiries}
5-
s.version = %q{3.0.0}
5+
s.version = %q{3.0.1}
66
s.summary = %q{Inquiry handling functionality for the Refinery CMS project.}
77
s.description = %q{Inquiry handling functionality extracted from Refinery CMS to allow you to have a contact form and manage inquiries in the Refinery backend.}
88
s.homepage = %q{http://refinerycms.com}

spec/features/refinery/inquiries/inquiries_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module Inquiries
7474
visit refinery.inquiries_new_inquiry_path
7575

7676
expect(page).to have_no_content("We value your privacy")
77-
expect(page).to have_no_selector("a[href='/pages/privacy-policy']")
77+
expect(page).to have_no_selector("a[href='/privacy-policy']")
7878
end
7979
end
8080

@@ -87,7 +87,7 @@ module Inquiries
8787
visit refinery.inquiries_new_inquiry_path
8888

8989
expect(page).to have_content("We value your privacy")
90-
expect(page).to have_selector("a[href='/pages/privacy-policy']")
90+
expect(page).to have_selector("a[href='/privacy-policy']")
9191
end
9292
end
9393
end

0 commit comments

Comments
 (0)