Sha256: 7dd20da77c793f4ca09ab3e0c570cc01cfe7f88f29d8a1e702e971b6a4fb985c

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

module Coprl
  module Presenters
    module Helpers
      module Rails
        module Routes
          include ::Rails.application.routes.url_helpers
          def default_url_options
            ::Rails.application.config.action_controller.default_url_options || { :host => context[:request].host_with_port }
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.8 lib/coprl/presenters/helpers/rails/routes.rb
coprl-3.0.0.beta.7 lib/coprl/presenters/helpers/rails/routes.rb