RubyGems.org

SubdomainRoutes add subdomain conditions to the Rails routing system. Routes may be restricted to one or many specified subdomains. An URL will be recognised only if the host subdomain matches the subdomain specified in the route. Route generation is also enhanced, so that the subdomain of a generated URL (or path) will be changed if the requested route has a different subdomain to that of the current request. Model-based subdomain routes can also be defined.

installgem install projectdx-subdomain_routes
Authors

Matthew Hollingworth, ProjectDX

1,186 total downloads 1,186 for this version
Owners

10d9ed7ab11115b081bb36f56a7a13bc

Gemfile
gem 'projectdx-subdomain_routes', '~> 0.3.2'
Versions
  1. 0.3.2 September 22, 2010 (25 KB)
Runtime Dependencies
  1. actionpack >= 2.3.9