From 2c4351c604afb0469ca10d297aca7b6b4274ba61 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 3 Nov 2014 21:03:29 +0800 Subject: [PATCH] small fix --- app/controllers/announcement_link_widgets_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/announcement_link_widgets_controller.rb b/app/controllers/announcement_link_widgets_controller.rb index 5cceb0d..583d17a 100644 --- a/app/controllers/announcement_link_widgets_controller.rb +++ b/app/controllers/announcement_link_widgets_controller.rb @@ -74,6 +74,7 @@ class AnnouncementLinkWidgetsController < ApplicationController end def content + OrbitHelper.set_site_locale I18n.locale OrbitHelper.register_subpart(params["sub_part_id"]) html = render_widget_for_frontend("announcement_link_widget","render_content","content") render :html => html.html_safe