We need this variable later

This commit is contained in:
Rafael dos Santos Silva 2016-10-11 19:14:32 -03:00
parent 9a502c73c9
commit c5b94878ac

View File

@ -312,6 +312,9 @@ class BadgeGranter
SiteSetting.default_locale
end
# Make this variable in this scope
notification = nil
I18n.with_locale(notification_locale) do
notification = Notification.create!(
user_id: row.user_id,