Sha256: 2decaf9dd39f6d174bd0499fb8287dad2f21eb50139bc2b894de5b55c9952f8b
Contents?: true
Size: 351 Bytes
Versions: 18
Compression:
Stored size: 351 Bytes
Contents
module Admin class PollQuestionsController < ApplicationController before_action(:authenticate_user!) if defined?(Devise) before_action { EffectiveResources.authorize!(self, :admin, :effective_polls) } include Effective::CrudController def permitted_params params.require(:effective_poll_question).permit! end end end
Version data entries
18 entries across 18 versions & 1 rubygems