design update

This commit is contained in:
Harry Bomrah committed 2012-08-23 01:36:55 +08:00
1 parent d6b24c6454
commit 94ee16ae01
7 files changed
+80 -4

No files matched your search

+1 -1
View File
@@ -43,10 +43,10 @@ class DesktopOrbitController< ApplicationController
if(@fromdate[1] == 0)
@fromdate[1] = 12
@fromdate[0] = @fromdate[0] - 1
end
end
render :json=>@data.to_json
end
end
@@ -67,6 +67,7 @@ class DesktopPublicationsController< ApplicationController
paper.update_attributes(:user_id => current_user.id)
end
b = Array.new
b << {"success"=>"true"}
render :json=>b.to_json
end