Errol Siegel wrote: >> Use *_path? I do it and haven't seen any browsers complain about the >> redirects... > Again, that would mean going through the entire application and changing > every reference. > > Besides, using relative paths in redirects violates the HTTP spec. I > understand that it gets the job done, but that doesn't seem like the > right way to do it. > > I don't wish to appear argumentative, but I really hope somebody knows a > cleaner way to do this.
Use default_url_options. Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.