Sha256: 6bf4ce278026901916831b5460c935392e3039753028ca4a2374ea528da6723c
Contents?: true
Size: 481 Bytes
Versions: 4
Compression:
Stored size: 481 Bytes
Contents
class PeopleController < Carnival::BaseAdminController private def permitted_params params.permit(person: [:name, :email, :bio, :birthday, photos_attributes:[:title, :image, :_destroy], phones_attributes: [:phone_type_id, :number], addresses_attributes: [:address, :number, :complement, :zipcode, :city_id, :state_id, :country_id, :address_type_id] ]) end end
Version data entries
4 entries across 4 versions & 1 rubygems