method
generate
v4.1.8 -
Show latest stable
- Class:
ActionDispatch::Routing::RouteSet::Generator
generate()public
Generates a path from routes, returns [path, params]. If no route is generated the formatter will raise ActionController::UrlGenerationError