RubyGems Navigation menu

subdomain_routes 0.3.1

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.

Gemfile
          gem 'subdomain_routes', '~> 0.3.1'
  
  
  
  
  
  
  

install
          gem install subdomain_routes
  
  
  
  
  
  
  

Authors:

  • Matthew Hollingworth

Owners:

Total downloads 4,926

For this version 4,926

Required Ruby Version: None

Links:

Versions:

  1. 0.3.1 - October 9, 2009 (24.5 KB)

Runtime Dependencies: