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 mataki-subdomain_routes
Authors

Matthew Hollingworth, Akihiro Matsumura

3,116 total downloads 1,552 for this version
Owners

5bfe667eb5825e048956b336c1f7d011

Gemfile
gem 'mataki-subdomain_routes', '~> 0.3.3'
Versions
  1. 0.3.3 October 13, 2010 (25.5 KB)
  2. 0.3.2 October 13, 2010 (25.5 KB)
  3. 0.3.1 September 5, 2009 (23 KB)
Runtime Dependencies
  1. actionpack = 2.3.9