Use current locale for message body display. Refs #576
This commit is contained in:
parent
1362ee87c5
commit
e3ee41294d
|
@ -2,7 +2,7 @@
|
|||
.flash_notify
|
||||
- if (flash_notify = FlashNotify.published.first) && flash_notify.should_show?(cookies[:flash_notify_hash])
|
||||
.alert{:class => "alert-#{flash_notify.status}"}
|
||||
= flash_notify.body current_user.language
|
||||
= flash_notify.body I18n.locale
|
||||
%a.close#close-alert{:'data-dismiss'=>"alert", :href=>"#"} ×
|
||||
|
||||
:javascript
|
||||
|
|
Loading…
Reference in New Issue