method

path_params

rails latest stable - Class: ActionDispatch::Routing::Mapper::Mapping

Method deprecated or moved

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

path_params(ast)
private

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 346
          def path_params(ast)
            ast.grep(Journey::Nodes::Symbol).map { |n| n.name.to_sym }
          end