method
optional_format?
optional_format?(path, format)
private
Hide source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 146 def optional_format?(path, format) format != false && !path.include?(':format') && !path.end_with?('/') end