123456789_123456789_123456789_123456789_123456789_

Module: Rails::Engine::LazyRouteSet::ProxyUrlHelpers

Relationships & Source Files
Defined in: railties/lib/rails/engine/lazy_route_set.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#optimize_routes_generation?Boolean (readonly)

[ GitHub ]

  
# File 'railties/lib/rails/engine/lazy_route_set.rb', line 33

def optimize_routes_generation?
  Rails.application&.reload_routes_unless_loaded
  super
end

Instance Method Details

#full_url_for(options)

[ 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

#polymorphic_path(record_or_hash_or_array, options = {})

[ 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

#polymorphic_url(record_or_hash_or_array, options = {})

[ 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

#route_for(name, *args)

[ 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

#url_for(options)

[ GitHub ]

  
# File 'railties/lib/rails/engine/lazy_route_set.rb', line 18

def url_for(options)
  Rails.application&.reload_routes_unless_loaded
  super
end