fixed announcement widget index mode title i18n missing

This commit is contained in:
thomaschen 2013-12-10 16:04:21 +08:00
parent d3565daef4
commit 26c4d69e07
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class Panel::Announcement::Widget::BulletinsController < OrbitWidgetController
@widget_fields = []
end
@title = params[:part_title]
@title = @part.title_translations[I18n.locale.to_s]
@widget_style = @part.widget_style