Sha256: 4700e74b82a59d74bbe4174579469e81323cebc77dc92378f3904c34801d1aba

Contents?: true

Size: 324 Bytes

Versions: 24

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module Browser
  class Middleware
    class Context
      module UrlMethods
        def default_url_options
          Rails.configuration.browser.default_url_options ||
            Rails.configuration.action_mailer.default_url_options ||
            {}
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
browser-6.2.0 lib/browser/middleware/context/url_methods.rb
browser-6.1.0 lib/browser/middleware/context/url_methods.rb
browser-6.0.0 lib/browser/middleware/context/url_methods.rb
browser-5.3.1 lib/browser/middleware/context/url_methods.rb
browser-5.3.0 lib/browser/middleware/context/url_methods.rb
browser-5.2.0 lib/browser/middleware/context/url_methods.rb
browser-5.1.0 lib/browser/middleware/context/url_methods.rb
browser-5.0.0 lib/browser/middleware/context/url_methods.rb
browser-4.2.0 lib/browser/middleware/context/url_methods.rb
browser-4.1.0 lib/browser/middleware/context/url_methods.rb
browser-4.0.0 lib/browser/middleware/context/url_methods.rb
browser-3.0.3 lib/browser/middleware/context/url_methods.rb
browser-3.0.2 lib/browser/middleware/context/url_methods.rb
browser-3.0.1 lib/browser/middleware/context/url_methods.rb
browser-3.0.0 lib/browser/middleware/context/url_methods.rb
browser-2.7.1 lib/browser/middleware/context/url_methods.rb
browser-2.7.0 lib/browser/middleware/context/url_methods.rb
browser-2.6.1 lib/browser/middleware/context/url_methods.rb
browser-2.6.0 lib/browser/middleware/context/url_methods.rb
browser-2.5.3 lib/browser/middleware/context/url_methods.rb