update customer

This commit is contained in:
Aung Myo
2017-06-09 12:00:46 +06:30
parent e2e8045d0f
commit ba9ebe12de
2 changed files with 4 additions and 6 deletions

View File

@@ -142,7 +142,7 @@ class Crm::CustomersController < BaseCrmController
else
format.html { render :edit }
format.html { render :index }
format.json { render json: @crm_customer.errors, status: :unprocessable_entity }
end