method

optional_format?

optional_format?()
private

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 93
          def optional_format?
            options[:format] != false && !path.include?(':format') && !path.end_with?('/')
          end