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

Version Path
effective_polls-0.7.3 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.7.2 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.7.1 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.7.0 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.6.2 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.6.1 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.6.0 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.5.6 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.5.5 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.5.4 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.5.3 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.5.2 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.5.1 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.5.0 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.4.1 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.4.0 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.3.0 app/controllers/admin/poll_questions_controller.rb
effective_polls-0.2.0 app/controllers/admin/poll_questions_controller.rb