Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant

This commit is contained in:
superuser
2017-06-23 21:45:34 +06:30
3 changed files with 3 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ end
'Content-Type' => 'application/json',
'Accept' => 'application/json'
},
:timeout 10
:timeout => 10
)
rescue Net::OpenTimeout
response = { status: false }

View File

@@ -30,6 +30,7 @@ class Origami::HomeController < BaseOrigamiController
order.order_items.each do |item|
@order_items.push(item)
end
end
end
@status_order = 'order'
else