Working in progress app

This commit is contained in:
2015-10-07 16:23:49 +02:00
parent a4f6470d3d
commit b540f5945e
5 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ module Users
# POST /user/lists/:id/order_products
def order_products
res = {}
unless active_list.present?
unless active_list.try(:active?)
res[:list_closed] = true
render json: res, status: 404
return