method

alter_regex_for_custom_routes

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 (v6.1.7.7) is shown here.

alter_regex_for_custom_routes(node)
public

Find all the symbol nodes that are adjacent to literal nodes and alter the regexp so that Journey will partition them into custom routes.