Module: Rails::Engine::LazyRouteSet::ProxyUrlHelpers
- Defined in:
- lib/rails/engine/lazy_route_set.rb
Instance Method Summary collapse
- #full_url_for(options) ⇒ Object
- #optimize_routes_generation? ⇒ Boolean
- #polymorphic_path(record_or_hash_or_array, options = {}) ⇒ Object
- #polymorphic_url(record_or_hash_or_array, options = {}) ⇒ Object
- #route_for(name, *args) ⇒ Object
- #url_for(options) ⇒ Object
Instance Method Details
#full_url_for(options) ⇒ Object
23 24 25 26 |
# File 'lib/rails/engine/lazy_route_set.rb', line 23 def full_url_for() Rails.application&.reload_routes_unless_loaded super end |
#optimize_routes_generation? ⇒ Boolean
33 34 35 36 |
# File 'lib/rails/engine/lazy_route_set.rb', line 33 def optimize_routes_generation? Rails.application&.reload_routes_unless_loaded super end |
#polymorphic_path(record_or_hash_or_array, options = {}) ⇒ Object
43 44 45 46 |
# File 'lib/rails/engine/lazy_route_set.rb', line 43 def polymorphic_path(record_or_hash_or_array, = {}) Rails.application&.reload_routes_unless_loaded super end |
#polymorphic_url(record_or_hash_or_array, options = {}) ⇒ Object
38 39 40 41 |
# File 'lib/rails/engine/lazy_route_set.rb', line 38 def polymorphic_url(record_or_hash_or_array, = {}) Rails.application&.reload_routes_unless_loaded super end |
#route_for(name, *args) ⇒ Object
28 29 30 31 |
# File '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) ⇒ Object
18 19 20 21 |
# File 'lib/rails/engine/lazy_route_set.rb', line 18 def url_for() Rails.application&.reload_routes_unless_loaded super end |