module ActionDispatch::Routing::RouteSet::WorkareaLocaleFixes

Public Instance Methods

default_url_options() click to toggle source
Calls superclass method
# File lib/workarea/testing/locale_routing_fixes.rb, line 19
def default_url_options
  result = super

  if !result.key?(:locale) && !result.key?('locale')
    result[:locale] = nil
  end

  result
end