Method: ActionDispatch::Routing::RoutesProxy#method_missing
- Defined in:
- actionpack/lib/action_dispatch/routing/routes_proxy.rb
#method_missing(method, *args) ⇒ Object (private)
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'actionpack/lib/action_dispatch/routing/routes_proxy.rb', line 32 def method_missing(method, *args) if @helpers.respond_to?(method) = args. = .merge(( || {}).symbolize_keys) if @script_namer [:script_name] = merge_script_names( [:script_name], @script_namer.call() ) end args << @helpers.public_send(method, *args) else super end end |