Fix product images
This commit is contained in:
@@ -30,12 +30,6 @@ module Users
|
||||
flash.now[:notice] = t("messages.#{params[:message]}", list: List.model_name.human, supplier: Supplier.model_name.human) if params[:message].present? && params[:message] =~ /^\w+$/
|
||||
end
|
||||
|
||||
# General handler of json responses. Will be able to set some additional communication data.
|
||||
# By default a response is ok.
|
||||
def json_response(obj = {})
|
||||
obj[:ok] = true unless obj.has_key?(:ok)
|
||||
obj
|
||||
end
|
||||
|
||||
def new_order_product_orders
|
||||
case params[:product_orders]
|
||||
|
||||
Reference in New Issue
Block a user