Flowdock
method

parse

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: PathParser
parse(path) public

No documentation

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

Hide source
# 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
Register or log in to add new notes.