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.7.2 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.7.1 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.7.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.6.5 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.6.4 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.6.3 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.6.2 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.6.1 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.6.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.5.1 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.5.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.4.8 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.4.7 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.4.6 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.4.5 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.4.4 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.4.3 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.4.2 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-1.4.1 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.6.9 app/controllers/admin/cpd_categories_controller.rb