changes pages routes to static

This commit is contained in:
Juanjo Bazán
2015-09-15 12:04:12 +02:00
parent 41c147de11
commit b4312fbbfc
2 changed files with 16 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ class PagesController < ApplicationController
def privacy def privacy
end end
def cooming_soon def coming_soon
end end
def how_it_works def how_it_works

View File

@@ -213,6 +213,20 @@ Rails.application.routes.draw do
end end
# static pages # static pages
get "/:action", controller: "pages" get "/census_terms", to: "pages#census_terms"
get "/conditions", to: "pages#conditions"
get "/general_terms", to: "pages#general_terms"
get "/privacy", to: "pages#privacy"
get "/coming_soon", to: "pages#coming_soon"
get "/how_it_works", to: "pages#how_it_works"
get "/how_to_use", to: "pages#how_to_use"
get "/more_information", to: "pages#more_information"
get "/opendata", to: "pages#opendata"
get "/participation", to: "pages#participation"
get "/transparency", to: "pages#transparency"
get "/proposals_info", to: "pages#proposals_info"
get "/participation_facts", to: "pages#participation_facts"
get "/participation_world", to: "pages#participation_world"
get "/blog", to: "pages#blog"
end end