Skip to content

Commit

Permalink
Creates census terms custom page
Browse files Browse the repository at this point in the history
  • Loading branch information
decabeza committed Nov 22, 2018
1 parent 4dea0bd commit f368246
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/views/custom/pages/census_terms.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<% content_for :canonical do %>
<%= render "shared/canonical", href: page_url("census_terms") %>
<% end %>

<div class="row">
<div class="small-12 column">
<h2>Terminos de acceso al Padrón</h2>
<%= simple_format t("pages.census_terms") %>
</div>
</div>
5 changes: 5 additions & 0 deletions spec/controllers/pages_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
get :show, id: :accessibility
expect(response).to be_ok
end

it 'includes a custom census terms page' do
get :show, id: :census_terms
expect(response).to be_ok
end
end

describe 'More info pages' do
Expand Down

0 comments on commit f368246

Please sign in to comment.