Sha256: 1307fa7ef6130202c2c8e245d49691c5ce59934a22fe6d6baafbfe18555c3da3
Contents?: true
Size: 389 Bytes
Versions: 8
Compression:
Stored size: 389 Bytes
Contents
module Admin class PollQuestionsController < ApplicationController layout EffectivePolls.layout[:admin] before_action(:authenticate_user!) if defined?(Devise) before_action { EffectivePolls.authorize!(self, :admin, :effective_polls) } include Effective::CrudController def permitted_params params.require(:effective_poll_question).permit! end end end
Version data entries
8 entries across 8 versions & 1 rubygems