fix default widget link

This commit is contained in:
Fu Matthew committed 2013-02-23 15:19:51 +08:00
1 parent 8592015b1b
commit 73bca03b33
6 files changed
+11 -15

No files matched your search

@@ -60,15 +60,12 @@ class DefaultWidgetController< OrbitWidgetController
when "typeA"
@tag_class = 'default_widget_typeA'
@partial = "typeA"
render "typeA"
when /typeB_/
@tag_class = "default_widget_#{params[:type]}"
@partial = "typeB"
render "typeB"
when "typeC"
@tag_class = 'default_widget_typeC'
@partial = "typeC"
render "typeC"
end
end
end