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

Install _RbsRailsPathHelpers to ActionController::Base by default #279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tk0miya
Copy link
Collaborator

@tk0miya tk0miya commented Sep 19, 2024

Inside ActionController, the application routes are installed to
the ActionController::Base class on bootstrap automatically.

To follow the behavior, it's better to install _RbsRailsPathHelpers to
ActionController::Base by default.

refs:

Note: this includes #274.

Inside ActionController, the application routes are installed to
the ActionController::Base class on bootstrap automatically.

To follow the behavior, it's better to install `_RbsRailsPathHelpers` to
ActionController::Base by default.

refs:

* https://github.com/rails/rails/blob/v7.2.1/actionpack/lib/action_controller/railtie.rb#L75
* https://github.com/rails/rails/blob/v7.2.1/actionpack/lib/abstract_controller/railties/routes_helpers.rb#L18
@tk0miya tk0miya force-pushed the path_helpers/enable_by_default branch from 4721baa to aad9eb3 Compare November 10, 2024 15:36
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.

1 participant