method
segment_for
v2.3.8 -
Show latest stable
- Class:
ActionController::Routing::RouteBuilder
segment_for(string)public
A factory method that returns a new segment instance appropriate for the format of the given string.
segment_for(string)A factory method that returns a new segment instance appropriate for the format of the given string.