delete useless variable in link widget controller

This commit is contained in:
thomaschen authored and saurabhbhatia committed 2013-12-13 16:19:07 +08:00
1 parent 03b29a7b4a
commit 0ab7041341
1 file changed
+1 -5
@@ -27,10 +27,6 @@ class Panel::WebResource::Widget::WebLinksController < OrbitWidgetController
@widget_style = @part.widget_style
@category_id = @part.category
date_now = Time.now
if !params[:category_id].blank?
@web_link_categorys = @module_app.categories.enabled.any_in(:_id => params[:category_id])
else
@@ -63,7 +59,7 @@ class Panel::WebResource::Widget::WebLinksController < OrbitWidgetController
end
@web_link_datas << { "title" => wlcg.title, "web_links" => web_link_datas } if !@web_links.blank?
end
end