method

parse

parse(path)
public

No documentation available.

# File actionview/lib/action_view/template/resolver.rb, line 58
      def parse(path)
        @regex ||= build_path_regex
        match = @regex.match(path)
        {
          prefix: match[:prefix] || "",
          action: match[:action],
          partial: !!match[:partial],
          locale: match[:locale]&.to_sym,
          handler: match[:handler]&.to_sym,
          format: match[:format]&.to_sym,
          variant: match[:variant]
        }
      end