method

optional_format?

Importance_0
v6.1.3.1 - 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 115
        def self.optional_format?(path, format)
          format != false && !path.match?(OPTIONAL_FORMAT_REGEX)
        end
Register or log in to add new notes.