Sha256: d51f56eb484e35c5b54010b8be87ca6295cc089c05d69f66c792358e671d0f19

Contents?: true

Size: 359 Bytes

Versions: 18

Compression:

Stored size: 359 Bytes

Contents

module Admin
  class PollNotificationsController < 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_notification).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_notifications_controller.rb
effective_polls-0.7.2 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.7.1 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.7.0 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.6.2 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.6.1 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.6.0 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.5.6 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.5.5 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.5.4 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.5.3 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.5.2 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.5.1 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.5.0 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.4.1 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.4.0 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.3.0 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.2.0 app/controllers/admin/poll_notifications_controller.rb