remove puts
This commit is contained in:
parent
999d08434c
commit
7f0ad9bb33
|
@ -291,7 +291,6 @@ class Admin::SitePanelController < OrbitAdminController
|
||||||
"site_name" => current_site.title,
|
"site_name" => current_site.title,
|
||||||
"site_url" => current_site.root_url})
|
"site_url" => current_site.root_url})
|
||||||
data = JSON.parse(response.body) rescue {}
|
data = JSON.parse(response.body) rescue {}
|
||||||
puts data
|
|
||||||
@server_ability = ServerAbility.first
|
@server_ability = ServerAbility.first
|
||||||
if data.keys.length>0 && !data['ability'].blank?
|
if data.keys.length>0 && !data['ability'].blank?
|
||||||
@server_ability.update_attributes(ability: data['ability'], site_num: site_num)
|
@server_ability.update_attributes(ability: data['ability'], site_num: site_num)
|
||||||
|
|
Loading…
Reference in New Issue