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

Version Path
carnival-0.0.56 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.55 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.54 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.53 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.52 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.51 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.50 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.49 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.48 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.47 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.45 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.44 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.43 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.42 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.41 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.40 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.39 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.38 test/dummy/app/controllers/admin/countries_controller.rb
carnival-0.0.37 test/dummy/app/controllers/admin/countries_controller.rb