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

@@ -12,7 +12,7 @@ gem 'rails', '~> 5.1.0'
gem 'mysql2', '>= 0.3.18', '< 0.5'
#Use PosgreSQL
gem 'pg'
#gem 'pg'
# redis server for cable
# gem 'redis', '~> 3.0'

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

@@ -31,6 +31,7 @@ class Origami::HomeController < BaseOrigamiController
@order_items.push(item)
end
end
end
@status_order = 'order'
else
sale = Sale.find(booking.sale_id)