Skip to content

Commit

Permalink
Merge pull request #564 from northeastprince/publicize-turbo_frame_re…
Browse files Browse the repository at this point in the history
…quest

Make `turbo_frame_request?` a helper method
  • Loading branch information
brunoprietog authored Jun 21, 2024
2 parents e376852 + b480466 commit 33c9d17
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 33c9d17

Please sign in to comment.