method

method_missing

Importance_0
method_missing(method, *args) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/routing/routes_proxy.rb, line 30
      def method_missing(method, *args)
        if @helpers.respond_to?(method)
          options = args.extract_options!
          options = url_options.merge((options || {}).symbolize_keys)

          if @script_namer
            options[:script_name] = merge_script_names(
              options[:script_name],
              @script_namer.call(options)
            )
          end

          args << options
          @helpers.public_send(method, *args)
        else
          super
        end
      end
Register or log in to add new notes.