Created
January 11, 2011 08:14
-
-
Save jhubert/774191 to your computer and use it in GitHub Desktop.
The configuration file for the Refraction Gem to add www. to a domain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refraction.configure do |req| | |
req.permanent! :host => "www.mydomain.com" if req.host !~ /^www./ | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment