Sha256: 5ffba992277e0b24ebaa0a9aba94d75a97a4cb2a44e220e9950b6cc5afdbb01f
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
module SubdomainRoutes module Request include SplitHost def subdomain subdomain_for_host(host) # TODO: catch HostNotSupplied and TooManySubdomains and deal with them somehow! end end end ActionController::Request.send :include, SubdomainRoutes::Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mholling-subdomain_routes-0.1.0 | lib/subdomain_routes/request.rb |