مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
fix: fixes error messages in web ui
هذا الالتزام موجود في:
@@ -90,7 +90,7 @@ class ApplicationController < ActionController::Base
|
|||||||
def render_form_errors(action_name, object)
|
def render_form_errors(action_name, object)
|
||||||
respond_to do |wants|
|
respond_to do |wants|
|
||||||
wants.html { render action_name }
|
wants.html { render action_name }
|
||||||
wants.json { render json: { form_errors: object.errors.full_messages }, status: :unprocessable_entity }
|
wants.json { render json: { form_errors: object.errors.map(&:full_message) }, status: :unprocessable_entity }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم