Sha256: 82b3daed04a2ad5d898f47c5866b44f3ab7af749e555d8dabe279178b1b5dd1d
Contents?: true
Size: 757 Bytes
Versions: 3
Compression:
Stored size: 757 Bytes
Contents
require 'effective_resources' require 'effective_posts/engine' require 'effective_posts/version' module EffectivePosts 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 include EffectiveGem 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 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
effective_posts-2.0.4 | lib/effective_posts.rb |
effective_posts-2.0.3 | lib/effective_posts.rb |
effective_posts-2.0.2 | lib/effective_posts.rb |