fixed conflictfile
This commit is contained in:
@@ -94,13 +94,11 @@ class Crm::CustomersController < BaseCrmController
|
||||
else
|
||||
|
||||
@crm_customers.destroy
|
||||
|
||||
if params[:sale_id]
|
||||
format.html { redirect_to '/origami/'+params[:sale_id]+'/add_customer'}
|
||||
else
|
||||
format.html { redirect_to crm_customers_path, notice: response["message"] }
|
||||
end
|
||||
|
||||
end
|
||||
else
|
||||
|
||||
@@ -110,7 +108,6 @@ class Crm::CustomersController < BaseCrmController
|
||||
format.html { redirect_to crm_customers_path}
|
||||
format.json { render json: @crm_customers.errors, status: :unprocessable_entity }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user