Skip to content

Commit

Permalink
🐛 ↩️ fixes #457
Browse files Browse the repository at this point in the history
- backport from decidim#4892
  • Loading branch information
moustachu committed Feb 28, 2019
1 parent 9791bfb commit 197feb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module LocalisedMailer
#
# Returns nothing.
def with_user(user)
I18n.with_locale(user.locale || I18n.locale) do
I18n.with_locale(user.locale || user.organization.default_locale) do
yield
end
end
Expand Down

0 comments on commit 197feb0

Please sign in to comment.