amend file value to correct format
This commit is contained in:
parent
282604d1fa
commit
284bf34fec
|
@ -117,8 +117,8 @@ class DesktopController< ApplicationController
|
|||
widge = DesktopWidget.find(tile.desktop_widget_id.to_s)
|
||||
# data_content = widge.widget_layout.file
|
||||
data_content = "/desktop/widget_layout?id="+tile.desktop_widget_id.to_s
|
||||
jsfile = widge.javascripts.collect{|js| js.file}
|
||||
cssfile = widge.css_default.file
|
||||
jsfile = widge.javascripts.collect{|js| js.file.as_json[:file]}
|
||||
cssfile = widge.css_default.file.as_json[:file]
|
||||
shape = widge.shape
|
||||
title = widge.name
|
||||
else
|
||||
|
@ -212,4 +212,4 @@ class DesktopController< ApplicationController
|
|||
render :xml=>feed
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue