app/commands/decidim/system/create_default_pages.rb in decidim-system-0.28.4 vs app/commands/decidim/system/create_default_pages.rb in decidim-system-0.29.0.rc1
- old
+ new
@@ -21,10 +21,9 @@
Decidim::StaticPage::DEFAULT_PAGES.map do |slug|
static_page = Decidim::StaticPage.find_or_create_by!(organization:, slug:) do |page|
translated_slug = I18n.t(slug, scope: "decidim.system.default_pages")
page.title = localized_attribute(translated_slug, :title)
page.content = localized_attribute(translated_slug, :content)
- page.show_in_footer = true
page.allow_public_access = true if slug == "terms-of-service"
end
create_summary_content_blocks_for(static_page) if slug == "terms-of-service"
end