Sha256: 4c77967d723dd80e62e89dad752f9ab601e576df81ea0cc52cc1af715cfef2dd
Contents?: true
Size: 308 Bytes
Versions: 19
Compression:
Stored size: 308 Bytes
Contents
module Admin class CountriesController < Carnival::BaseAdminController layout "carnival/admin" def permitted_params params.permit(admin_country: [:name, :code, :states_attributes => [:id, :name, :code, :_destroy], :cities_attributes => [:id, :name, :state_id, :_destroy]]) end end end
Version data entries
19 entries across 19 versions & 1 rubygems