Settings saving feedback
This commit is contained in:
@@ -28,7 +28,7 @@ class SupplierController < ApplicationController
|
||||
end
|
||||
format.json do
|
||||
current_supplier.update_attributes(supplier_params)
|
||||
render nothing: true
|
||||
render json: SupplierSupplierSerializer.new(current_supplier).as_json
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user