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