app/controllers/turbo/frames/frame_request.rb in turbo-rails-0.8.1 vs app/controllers/turbo/frames/frame_request.rb in turbo-rails-0.8.2
- old
+ new
@@ -17,8 +17,12 @@
etag { :frame if turbo_frame_request? }
end
private
def turbo_frame_request?
- request.headers["Turbo-Frame"].present?
+ turbo_frame_request_id.present?
+ end
+
+ def turbo_frame_request_id
+ request.headers["Turbo-Frame"]
end
end