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-0.6.7 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.6.6 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.6.5 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.6.4 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.6.3 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.6.2 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.6.1 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.6.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.5.4 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.5.3 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.5.2 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.5.1 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.5.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.4.3 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.4.2 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.4.1 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.4.0 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.3.3 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.3.2 app/controllers/admin/cpd_categories_controller.rb
effective_cpd-0.3.1 app/controllers/admin/cpd_categories_controller.rb