mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
make rubocop happy
This commit is contained in:
parent
3a29ba71a3
commit
8d14d55fc5
@ -46,7 +46,7 @@ class TopicUser < ActiveRecord::Base
|
||||
change(user_id, topic_id, notification_level: notification_level, notifications_reason_id: reason) if should_change
|
||||
end
|
||||
|
||||
def auto_notification_for_staging(user_id, topic_id, reason, notification_level=notification_levels[:watching])
|
||||
def auto_notification_for_staging(user_id, topic_id, reason, notification_level = notification_levels[:watching])
|
||||
change(user_id, topic_id, notification_level: notification_level, notifications_reason_id: reason)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user