method

optional_format?

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Mapper::Mapping
optional_format?(path, format) private

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