Method: EffectivePosts.permitted_params

Defined in:
lib/effective_posts.rb

.permitted_paramsObject



25
26
27
28
29
30
# File 'lib/effective_posts.rb', line 25

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