Sha256: 3b4653f7a7ce272efeb86286e48122176cb8720ce6ad1ad6748c7cc46bbfc161

Contents?: true

Size: 1013 Bytes

Versions: 13

Compression:

Stored size: 1013 Bytes

Contents

module DmCms
  module PermittedParams

    #------------------------------------------------------------------------------
    def cms_snippet_params
      params.require(:cms_snippet).permit!
    end

    #------------------------------------------------------------------------------
    def cms_blog_params
      params.require(:cms_blog).permit!
    end

    #------------------------------------------------------------------------------
    def cms_post_params
      params.require(:cms_post).permit!
    end

    #------------------------------------------------------------------------------
    def cms_page_params
      params.require(:cms_page).permit!
    end

    #------------------------------------------------------------------------------
    def cms_contentitem_params
      params.require(:cms_contentitem).permit!
    end

    #------------------------------------------------------------------------------
    def media_file_params
      params.require(:media_file).permit!
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dm_cms-4.2.3.10 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.3.9 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.3.8 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.3.7 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.3.6 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.3.5 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.3.4 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.3.3 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.3.2 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.3.1 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.3 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.2.3 app/models/dm_cms/permitted_params.rb
dm_cms-4.2.2.2 app/models/dm_cms/permitted_params.rb