anyone-oslo/pages

View on GitHub
lib/rails/generators/pages_core/install/templates/pages_initializer.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

# Be sure to restart your web server when you modify this file.

PagesCore.configure do |config|
  # Site name and default mail sender
  config.site_name "<%= @site_name %>"
  config.default_sender "<%= @default_sender %>"

  # Localizations (default: disabled)
  # config.localizations :disabled

  # Locales and names
  # config.locales(nb: 'Norwegian', en: 'English')

  # New pages will be created by the user with this email address:
  # config.default_author "email@example.com"

  # Layout for 404 errors
  # config.error_404_layout "errors"

  # Custom attachment embedder
  # config.attachment_embedder PagesCore::AttachmentEmbedder
end