Sha256: da97d298d8044b36d91078ef118c68f5b7ffb120f2620e6e49fe27a6306ee3cb

Contents?: true

Size: 213 Bytes

Versions: 2

Compression:

Stored size: 213 Bytes

Contents

module Polygallery::StrongParams
  extend ActiveSupport::Concern

  included do
  end

  def polygallery_params
    [:id, :title, :_destroy, {:photos_attributes => [:photo, :title, :caption, :_destroy]}]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
polygallery-0.0.7 app/controllers/concerns/polygallery/strong_params.rb
polygallery-0.0.6 app/controllers/concerns/polygallery/strong_params.rb