lib/polygallery/strong_params_helper.rb in polygallery-0.4.1 vs lib/polygallery/strong_params_helper.rb in polygallery-0.4.2
- old
+ new
@@ -10,12 +10,12 @@
{:"#{title}_attributes" => [:id, :photo, :title, :caption, :gallery_title,
:gallery_id,
:galleryable_id, :galleryable_type, :_destroy] }
end
def polygallery_params(title=:gallery, photos_title=:photos)
- Polygallery::StrongParamsHelper.polygallery_params title, photos_title end
+ StrongParamsHelper.polygallery_params title, photos_title end
def polyphoto_params(title=:photos)
- Polygallery::StrongParamsHelper.polyphoto_params title
+ StrongParamsHelper.polyphoto_params title
end
end
end