Skip to content

Commit

Permalink
Make turbo_frame_request? a helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
northeastprince authored Jan 30, 2024
1 parent 5d2b127 commit b480466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/turbo/frames/frame_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b480466

Please sign in to comment.