class OptionalFormatSegment

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

The OptionalFormatSegment allows for any resource route to have an optional :format, which decreases the amount of routes created by 50%.

Inherits from

ActionController::Routing::DynamicSegment

Methods (defined here)

Type at least 2 characters to search.

↑↓ navigate · open · esc close