Settings saving feedback

This commit is contained in:
2014-10-03 18:07:02 +02:00
parent 1cd5798dee
commit b22f93aec6
7 changed files with 48 additions and 47 deletions
+1 -1
View File
@@ -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