This commit is contained in:
Vokhmin Alexey V 2014-02-12 20:23:07 +04:00
parent 672aa331be
commit 3020d2683b
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class Platforms::PlatformsController < Platforms::BaseController
if @platform.update_attributes(platform_params)
render json: { notice: I18n.t("flash.platform.saved") }.to_json
else
render json: { error: I18n.t("flash.platform.save_error") }.to_json, status: 433
render json: { error: I18n.t("flash.platform.save_error") }.to_json, status: 422
end
end
end