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-2.1.6 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-2.1.5 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-2.1.3 test/dummy/app/controllers/adminpanel/departments_controller.rb
adminpanel-2.1.2 test/dummy/app/controllers/adminpanel/departments_controller.rb