small fix

This commit is contained in:
Harry Bomrah 2014-11-03 21:03:29 +08:00
parent 271a7906bc
commit 2c4351c604
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ class AnnouncementLinkWidgetsController < ApplicationController
end end
def content def content
OrbitHelper.set_site_locale I18n.locale
OrbitHelper.register_subpart(params["sub_part_id"]) OrbitHelper.register_subpart(params["sub_part_id"])
html = render_widget_for_frontend("announcement_link_widget","render_content","content") html = render_widget_for_frontend("announcement_link_widget","render_content","content")
render :html => html.html_safe render :html => html.html_safe