We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
next_page_url ignores the format options:
next_page_url
format
# controller @users = User.all.page(params[:page]) # view next_page_url(@users, format: :turbo_stream) # actual: /users?page=2 # expected: /users.turbo_stream?page=2
Having that could be relevant for infinite pagination powered by Hotwire, eg:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
next_page_url
ignores theformat
options:Having that could be relevant for infinite pagination powered by Hotwire, eg:
The text was updated successfully, but these errors were encountered: