Sha256: d48d1d572352527cae41be506a9c5ae6b9eb3267c92874e6dcac44aa5a9fc5fa

Contents?: true

Size: 348 Bytes

Versions: 84

Compression:

Stored size: 348 Bytes

Contents

module Admin
  class CpdCategoriesController < ApplicationController
    before_action(:authenticate_user!) if defined?(Devise)
    before_action { EffectiveResources.authorize!(self, :admin, :effective_cpd) }

    include Effective::CrudController

    def permitted_params
      params.require(:effective_cpd_category).permit!
    end

  end
end

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
effective_cpd-1.4.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.3.7 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.3.6 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.3.5 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.3.4 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.3.3 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.3.2 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.3.1 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.3.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.2.4 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.2.3 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.2.2 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.2.1 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.2.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.1.3 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.1.2 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.1.1 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.1.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.0.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.6.8 app/controllers/admin/cpd_categories_controller.rb