Use current locale for message body display. Refs #576

This commit is contained in:
Pavel Chipiga 2012-07-25 21:21:52 +03:00
parent 1362ee87c5
commit e3ee41294d
1 changed files with 1 additions and 1 deletions

View File

@ -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