From b480466d103620475b147f2571713c4a7df67209 Mon Sep 17 00:00:00 2001 From: Matt Almeida Date: Tue, 30 Jan 2024 16:48:48 -0500 Subject: [PATCH] Make `turbo_frame_request?` a helper method --- app/controllers/turbo/frames/frame_request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/turbo/frames/frame_request.rb b/app/controllers/turbo/frames/frame_request.rb index 2063a28d..4a609a89 100644 --- a/app/controllers/turbo/frames/frame_request.rb +++ b/app/controllers/turbo/frames/frame_request.rb @@ -24,7 +24,7 @@ module Turbo::Frames::FrameRequest layout -> { "turbo_rails/frame" if turbo_frame_request? } etag { :frame if turbo_frame_request? } - helper_method :turbo_frame_request_id + helper_method :turbo_frame_request?, :turbo_frame_request_id end private