Skip to content
New issue

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

Rewrite URL helpers and support :method option on admin_link_to #490

Merged
merged 5 commits into from
Sep 17, 2024

Conversation

spohlenz
Copy link
Member

The URL helpers, and in particular admin_link_to has long been a particularly inelegant part of the codebase. This PR rewrites the admin_link_to and admin_url_for helpers and their specs, adding kwargs and bringing their supported behaviors in line with each other (admin_link_to now calls admin_url_for in most cases).

@coveralls
Copy link

coveralls commented Sep 16, 2024

Coverage Status

coverage: 91.453% (-0.01%) from 91.464%
when pulling aa433a3 on rewrite-url-helpers
into 35688e8 on main.

@spohlenz spohlenz marked this pull request as ready for review September 16, 2024 12:53
@spohlenz spohlenz merged commit 49b42d2 into main Sep 17, 2024
29 of 45 checks passed
@spohlenz spohlenz deleted the rewrite-url-helpers branch September 17, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants