Class | ActionController::Routing::OptionalFormatSegment |
In: |
lib/action_controller/routing/segments.rb
|
Parent: | DynamicSegment |
The OptionalFormatSegment allows for any resource route to have an optional :format, which decreases the amount of routes created by 50%.