Merge pull request #290 from AyuntamientoMadrid/pages
adds pages controller for static pages
This commit is contained in:
19
app/controllers/pages_controller.rb
Normal file
19
app/controllers/pages_controller.rb
Normal file
@@ -0,0 +1,19 @@
|
||||
class PagesController < ApplicationController
|
||||
|
||||
skip_authorization_check
|
||||
|
||||
def privacy
|
||||
end
|
||||
|
||||
def legal
|
||||
end
|
||||
|
||||
def terms
|
||||
end
|
||||
|
||||
def transparency
|
||||
end
|
||||
|
||||
def opendata
|
||||
end
|
||||
end
|
||||
1
app/views/pages/legal.html.erb
Normal file
1
app/views/pages/legal.html.erb
Normal file
@@ -0,0 +1 @@
|
||||
<%= t('pages.legal') %>
|
||||
1
app/views/pages/opendata.html.erb
Normal file
1
app/views/pages/opendata.html.erb
Normal file
@@ -0,0 +1 @@
|
||||
<%= t('pages.opendata') %>
|
||||
1
app/views/pages/privacy.html.erb
Normal file
1
app/views/pages/privacy.html.erb
Normal file
@@ -0,0 +1 @@
|
||||
<%= t('pages.privacy') %>
|
||||
1
app/views/pages/terms.html.erb
Normal file
1
app/views/pages/terms.html.erb
Normal file
@@ -0,0 +1 @@
|
||||
<%= t('pages.terms') %>
|
||||
1
app/views/pages/transparency.html.erb
Normal file
1
app/views/pages/transparency.html.erb
Normal file
@@ -0,0 +1 @@
|
||||
<%= t('pages.transparency') %>
|
||||
Reference in New Issue
Block a user