Custom thème done and theme id done…
This commit is contained in:
1 parent
b2d72902c3
commit
95a1e266ae
229 files changed
+100
-27
No files matched your search
@@ -25,6 +25,8 @@ class DesktopController< ApplicationController
|
||||
end
|
||||
|
||||
def settingthemes
|
||||
# @themes = Theme.count
|
||||
# raise @themes.inspect
|
||||
render "desktop/settings/themes", :layout => false
|
||||
end
|
||||
|
||||
@@ -59,8 +61,10 @@ class DesktopController< ApplicationController
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
when "customtheme"
|
||||
@desktop.update_attributes(:theme => "custom")
|
||||
@desktop.update_attributes(:customtheme => params['theme'])
|
||||
end
|
||||
a = Array.new
|
||||
a << {"success"=>"true"}
|
||||
render :json=>a.to_json
|
||||
|
||||
Reference in new issue
Block a user