duplicate error fixed and css inside widgets fixed, duplicate location fixed

This commit is contained in:
harrybomrah authored and saurabhbhatia committed 2013-07-30 16:41:38 +08:00
1 parent 78d6e33865
commit dc94283af9
2 files changed
+8 -4

No files matched your search

+2 -2
View File
@@ -152,9 +152,9 @@ class DesktopController< ApplicationController
def widget_layout
widget = DesktopWidget.find(params[:id])
link = '<link href="'+widget.css_default.file.to_s+'" media="screen" rel="stylesheet" type="text/css" />'
# link = '<link href="'+widget.css_default.file.to_s+'" media="screen" rel="stylesheet" type="text/css" />'
content = widget.widget_layout.body
dhtml = link + content
dhtml = content
render :text => dhtml.html_safe
end