Mercurial > zeropaste
changeset 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 | 7236c8864ad2 |
children | |
files | config/initializers/00zeropaste.rb |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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