Subdomains for Rails 2
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
LICENSE
README.md
init.rb

README.md

Subdomainr

Simple subdomains for Rails 2 with easy upgrade to Rails 3.

Modifies the rails 2 router to include routing based on domain and subdomain request attributes and extends the request subdomain attribute to return the string portion of subdomains of predefined domains. You can also add subdomains to ignore -- "www" is ignored by default.

License

Created by The Frontier Group, released under the MIT License. See LICENSE for details.