Sha256: 6c35df853b8dac4defc57bba359556c68971c8668aa35da65d82ed0603bfc1c8

Contents?: true

Size: 263 Bytes

Versions: 44

Compression:

Stored size: 263 Bytes

Contents

module Adminpanel
  class DepartmentsController < Adminpanel::ApplicationController

    private
      def department_params
        params.require(:department).permit(
          :category_id,
          :product_ids,
          :name
        )
      end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
adminpanel-3.6.1 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.6.0 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.5.1 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.5.0 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.4.7 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.4.6 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.4.5 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.4.4 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.4.3 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.4.2 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.4.1 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.4.0 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.3.4 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.3.3 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.3.0 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.2.1 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.2.0 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.1.0 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-3.0.0 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-2.6.1 test/dummy/app/controllers/adminpanel/departments_controller.rb