method

optional_format?

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Mapper::Mapping
optional_format?(path, format) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 117
        def self.optional_format?(path, format)
          format != false && !path.match?(OPTIONAL_FORMAT_REGEX)
        end
Register or log in to add new notes.