Move respond_with definition to own module and avoid monkey-patching

This commit is contained in:
Maikel Linke
2026-04-02 13:01:16 +11:00
parent ba3e9279bd
commit 190e9a79b2
3 changed files with 48 additions and 47 deletions

View File

@@ -12,6 +12,7 @@ class ApplicationController < ActionController::Base
include CablecarResponses
include Pagy::Backend
include RequestTimeouts
include RespondWith
self.responder = ApplicationResponder
respond_to :html