Add default site customization pages

From now on these static pages:

`/privacy'
`/conditions'
`/accesibility'
`/help/faq'
`/welcome'

have been moved to the DB and can be modified easily by any
administrator in `/admin/site_customization/pages'
This commit is contained in:
Julian Herrero
2019-02-27 10:47:58 +01:00
parent a0b8d076b7
commit 87be6f302c
31 changed files with 306 additions and 328 deletions

View File

@@ -126,3 +126,6 @@ WebSection.create(name: "debates")
WebSection.create(name: "proposals")
WebSection.create(name: "budgets")
WebSection.create(name: "help_page")
# Default custom pages
load Rails.root.join("db", "pages.rb")