instance method
_routes
Ruby on Rails 7.2.3
Since v3.1.12Signature
_routes()
No documentation comment.
Source
# File actionpack/lib/abstract_controller/url_for.rb, line 18
def _routes
raise "In order to use #url_for, you must include routing helpers explicitly. " \
"For instance, `include Rails.application.routes.url_helpers`."
end
Defined in actionpack/lib/abstract_controller/url_for.rb line 18
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AbstractController::UrlFor