search for: routingsubdomain

Displaying 1 result from an estimated 1 matches for "routingsubdomain".

Did you mean: routingsubdomains
2006 Apr 23
1
Can''t override routing code
I want to change some of Rails'' routing code so that I can make routes subdomain-sensitive. The code at http://wiki.rubyonrails.com/rails/pages/RoutingSubdomains works fine when I edit the file (in my case, C:\Program\Ruby\lib\ruby\gems\1.8\gems\actionpack-1.12.1\lib\action_controller\routing.rb) directly. Changing that file seems very fragile, so I figured I would override the method in question in environment.rb instead. However, it seems my routin...