duplicate error fixed and css inside widgets fixed, duplicate location fixed
This commit is contained in:
1 parent
78d6e33865
commit
dc94283af9
2 files changed
+8
-4
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user