diff config/initializers/00zeropaste.rb @ 506:b5c6fd96100b default tip

Readd the field error proc config
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:46:09 +0900
parents aaf58c17694b
children
line wrap: on
line diff
--- a/config/initializers/00zeropaste.rb	Mon Dec 16 01:42:54 2024 +0900
+++ b/config/initializers/00zeropaste.rb	Mon Dec 16 01:46:09 2024 +0900
@@ -1,4 +1,5 @@
 require_relative "../config_init"
 
+Rails.application.config.action_view.field_error_proc = proc { |html| html }
 Rails.application.config.active_record.schema_format = :sql
 Rails.application.config.middleware.delete ActionDispatch::HostAuthorization