lib/mokio/concerns/controllers/pic_galleries.rb in mokio-0.0.12 vs lib/mokio/concerns/controllers/pic_galleries.rb in mokio-0.0.13

- old
+ new

@@ -37,10 +37,10 @@ private # # Never trust parameters from the scary internet, only allow the white list through. # def pic_gallery_params #:doc: - params.require(:pic_gallery).permit(:title, :type, :active,:home_page, :intro, :content, :display_from, :display_to, :lang_id, :main_pic, :tag_list, :menu_ids => [], :data_file => [], + params.require(:pic_gallery).permit(:title, :subtitle, :type, :active,:home_page, :intro, :content, :display_from, :display_to, :lang_id, :main_pic, :tag_list, :menu_ids => [], :data_file => [], :meta_attributes => Mokio::Meta.meta_attributes) end end end end \ No newline at end of file