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