Methods
Instance Public methods
full_url_for(options)
📝 Source code
# File railties/lib/rails/engine/lazy_route_set.rb, line 23
def full_url_for(options)
Rails.application&.reload_routes_unless_loaded
super
end
🔎 See on GitHub
optimize_routes_generation?()
📝 Source code
# File railties/lib/rails/engine/lazy_route_set.rb, line 33
def optimize_routes_generation?
Rails.application&.reload_routes_unless_loaded
super
end
🔎 See on GitHub
polymorphic_path(record_or_hash_or_array, options = {})
📝 Source code
# 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
🔎 See on GitHub
polymorphic_url(record_or_hash_or_array, options = {})
📝 Source code
# 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
🔎 See on GitHub
route_for(name, *args)
📝 Source code
# File railties/lib/rails/engine/lazy_route_set.rb, line 28
def route_for(name, *args)
Rails.application&.reload_routes_unless_loaded
super
end
🔎 See on GitHub
url_for(options)
📝 Source code
# File railties/lib/rails/engine/lazy_route_set.rb, line 18
def url_for(options)
Rails.application&.reload_routes_unless_loaded
super
end
🔎 See on GitHub