Sha256: c1d37fd08b02d746bab071aaa1427903f586d9f0a552ae1bb66182b77dc5241a

Contents?: true

Size: 397 Bytes

Versions: 8

Compression:

Stored size: 397 Bytes

Contents

module Admin
  class PollNotificationsController < 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_notification).permit!
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
effective_polls-0.1.6 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.1.5 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.1.4 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.1.3 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.1.2 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.1.1 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.1.0 app/controllers/admin/poll_notifications_controller.rb
effective_polls-0.0.2 app/controllers/admin/poll_notifications_controller.rb