Sha256: a4d927af1cd16dfcb57c8cc77db10b462cafbb14f0da18ea6fc9b414aea73d33
Contents?: true
Size: 399 Bytes
Versions: 4
Compression:
Stored size: 399 Bytes
Contents
module Restfulie::Server::ActionController::Routing::Route def self.included(base) #base.alias_method_chain :extract_request_environment, :host end #def extract_request_environment_with_host(request) #env = extract_request_environment_without_host(request) #env.merge :host => request.host, #:domain => request.domain, :subdomain => request.subdomains.first #end end
Version data entries
4 entries across 4 versions & 1 rubygems