method

generate

rails latest stable - Class: ActionDispatch::Routing::RouteSet::Generator

Method deprecated or moved

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

generate()
public

Generates a path from routes, returns [path, params]. If no route is generated the formatter will raise ActionController::UrlGenerationError