method

visit_SYMBOL

rails latest stable - Class: ActionDispatch::Journey::Visitors::FormatBuilder

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

visit_SYMBOL(n)
public

No documentation available.

# File actionpack/lib/action_dispatch/journey/visitors.rb, line 146
        def visit_SYMBOL(n)
          symbol = n.to_sym
          if symbol == :controller
            [Journey::Format.required_path(symbol)]
          else
            [Journey::Format.required_segment(symbol)]
          end
        end