module EffectivePosts

Constants

VERSION

Public Class Methods

config_keys() click to toggle source
# File lib/effective_posts.rb, line 7
def self.config_keys
  [
    :posts_table_name, :layout, :categories,
    :use_category_routes, :use_blog_routes,
    :use_effective_roles, :use_active_storage,
    :per_page, :post_meta_author,
    :submissions_enabled, :submissions_require_current_user,
    :submissions_require_approval, :submissions_note,
    :mailer
  ]
end
permitted_params() click to toggle source
# File lib/effective_posts.rb, line 21
def self.permitted_params
  @permitted_params ||= [
    :title, :excerpt, :description, :draft, :category, :slug, :published_at, :body, :tags, :extra,
    :image, :start_at, :end_at, :location, :website_name, :website_href, roles: []
  ]
end