mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
fix the build
This commit is contained in:
@ -254,6 +254,8 @@ class ApplicationController < ActionController::Base
|
||||
if notifications.present?
|
||||
notification_ids = notifications.split(",").map(&:to_i)
|
||||
Notification.read(current_user, notification_ids)
|
||||
current_user.reload
|
||||
current_user.publish_notifications_state
|
||||
cookies.delete('cn')
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user