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