Skip to Content Skip to Search

module Rails::Engine::LazyRouteSet::ProxyUrlHelpers

Public instance methods

Source code GitHub
# File railties/lib/rails/engine/lazy_route_set.rb, line 23
def full_url_for(options)
  Rails.application&.reload_routes_unless_loaded
  super
end
Source code GitHub
# File railties/lib/rails/engine/lazy_route_set.rb, line 33
def optimize_routes_generation?
  Rails.application&.reload_routes_unless_loaded
  super
end
Source code GitHub
# File railties/lib/rails/engine/lazy_route_set.rb, line 43
def polymorphic_path(record_or_hash_or_array, options = {})
  Rails.application&.reload_routes_unless_loaded
  super
end
Source code GitHub
# File railties/lib/rails/engine/lazy_route_set.rb, line 38
def polymorphic_url(record_or_hash_or_array, options = {})
  Rails.application&.reload_routes_unless_loaded
  super
end
Source code GitHub
# File railties/lib/rails/engine/lazy_route_set.rb, line 28
def route_for(name, *args)
  Rails.application&.reload_routes_unless_loaded
  super
end
Source code GitHub
# File railties/lib/rails/engine/lazy_route_set.rb, line 18
def url_for(options)
  Rails.application&.reload_routes_unless_loaded
  super
end

Definition files