rosa-build/app/policies/settings_notifier_policy.rb

15 lines
254 B
Ruby
Raw Permalink Normal View History

2015-05-20 22:03:08 +01:00
class SettingsNotifierPolicy < ApplicationPolicy
# Public: Get list of parameters that the user is allowed to alter.
#
# Returns Array
def permitted_attributes
%i(
can_notify
new_build
new_associated_build
)
end
end