Skip to content

Commit

Permalink
Fix guide build to work with ViewComponent 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benilovj committed Jan 5, 2024
1 parent 2913217 commit 984cd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/lib/examples/pagination_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# links expect a Rack request.
module Pagy::UrlHelpers
def request
OpenStruct.new(GET: {}, session: nil, host: "https://somesite/")
OpenStruct.new(GET: {}, session: nil, host: "https://somesite/", format: OpenStruct.new(html?: true))
end
end

Expand Down

0 comments on commit 984cd31

Please sign in to comment.