Skip to content

Use keyword to: in page_routes#9020

Merged
tagliala merged 1 commit into
3-0-stablefrom
chore/backport-9019
May 11, 2026
Merged

Use keyword to: in page_routes#9020
tagliala merged 1 commit into
3-0-stablefrom
chore/backport-9019

Conversation

@tagliala
Copy link
Copy Markdown
Contributor

Convert the remaining hash-form route call in ActiveAdmin::Router#page_routes to the keyword to: form for uniformity with other route invocations and as a cleanup left over from #8837.

This change is purely stylistic, it does not remove any observed Rails 8.1 deprecation warnings, does not seem to alter Rails 8.2 (edge) compatibility, and has no runtime behavior changes.

Convert the remaining hash-form route call in `ActiveAdmin::Router#page_routes`
to the keyword `to:` form for uniformity with other route invocations and as a
cleanup left over from #8837.

This change is purely stylistic, it does not remove any observed Rails 8.1
deprecation warnings, does not seem to alter Rails 8.2 (edge) compatibility, and
has no runtime behavior changes.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (3-0-stable@188e14e). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff              @@
##             3-0-stable    #9020   +/-   ##
=============================================
  Coverage              ?   99.19%           
=============================================
  Files                 ?      194           
  Lines                 ?     4974           
  Branches              ?        0           
=============================================
  Hits                  ?     4934           
  Misses                ?       40           
  Partials              ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tagliala tagliala merged commit 8180d35 into 3-0-stable May 11, 2026
29 checks passed
@tagliala tagliala deleted the chore/backport-9019 branch May 11, 2026 13:13
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