Skip to content

Commit f520339

Browse files
committed
refactor(event_update_notifier): change param to required_param for event and changed_attributes
1 parent dc78b27 commit f520339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/notifiers/better_together/event_update_notifier.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class EventUpdateNotifier < ApplicationNotifier
1212
config.if = -> { recipient_has_email? && should_notify? }
1313
end
1414

15-
param :event, :changed_attributes
15+
required_param :event, :changed_attributes
1616

1717
notification_methods do
1818
delegate :event, :changed_attributes, to: :params

0 commit comments

Comments
 (0)