Sha256: c24e02116d7b782ead14ae92c16757c0da5c69328dcd218924738046b199ae6d

Contents?: true

Size: 201 Bytes

Versions: 12

Compression:

Stored size: 201 Bytes

Contents

module Admin
  class CategoriesController < AdminController

    defaults resource_class: Category

    private

      def category_params
        params.require(:category).permit!
      end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
express_admin-1.4.6 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.4.5 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.4.4 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.4.3 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.4.2 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.4.1 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.4.0 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.3.2 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.3.1 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.3.0 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.2.1 test/dummy/app/controllers/admin/categories_controller.rb
express_admin-1.2.0 test/dummy/app/controllers/admin/categories_controller.rb