AbstractController::UrlFor::ClassMethods Ruby on Rails 5.1.2 Module AbstractController::UrlFor::ClassMethods actionpack/lib/abstract_controller/url_for.rb Methods # _routes A action_methods Instance Public methods _routes() Link Source: show | on GitHub # File actionpack/lib/abstract_controller/url_for.rb, line 18 def _routes nil end action_methods() Link Source: show | on GitHub # File actionpack/lib/abstract_controller/url_for.rb, line 22 def action_methods @action_methods ||= begin if _routes super - _routes.named_routes.helper_names else super end end end