Sha256: f7bcaefd5d86313f673b21f9db7df073b053639540e60362e146f8c5af828956

Contents?: true

Size: 352 Bytes

Versions: 45

Compression:

Stored size: 352 Bytes

Contents

module Admin
  class CpdAuditLevelsController < 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_audit_level).permit!
    end

  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
effective_cpd-0.1.4 app/controllers/admin/cpd_audit_levels_controller.rb
effective_cpd-0.1.3 app/controllers/admin/cpd_audit_levels_controller.rb
effective_cpd-0.1.2 app/controllers/admin/cpd_audit_levels_controller.rb
effective_cpd-0.1.1 app/controllers/admin/cpd_audit_levels_controller.rb
effective_cpd-0.1 app/controllers/admin/cpd_audit_levels_controller.rb