diff --git a/app/controllers/turbo/frames/frame_request.rb b/app/controllers/turbo/frames/frame_request.rb index 2063a28d..60d6320c 100644 --- a/app/controllers/turbo/frames/frame_request.rb +++ b/app/controllers/turbo/frames/frame_request.rb @@ -33,6 +33,6 @@ def turbo_frame_request? end def turbo_frame_request_id - request.headers["Turbo-Frame"] + request&.headers["Turbo-Frame"] end end