method

optional_format?

Importance_0
v5.0.0.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 95
        def self.optional_format?(path, format)
          format != false && !path.include?(':format') && !path.end_with?('/')
        end
Register or log in to add new notes.