public
Rubygem
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Click here to lend your support to: thin and make a donation at www.pledgie.com !
Rails now uses ActionController::Base.relative_url_root to set 
relative_url_root.
Chris Cherry (author)
Fri Oct 17 11:22:41 -0700 2008
commit  0455b8b615471c721cc65af0a4f5944af8192ed8
tree    b39cd6ae9fd27ad77c80eaca969994203ce21e5d
parent  3ffced68bd37defac3aebca75682562249c08e41
...
31
32
33
34
 
35
36
37
...
31
32
33
 
34
35
36
37
0
@@ -31,7 +31,7 @@ module Rack
0
         require "#{@root}/config/environment"
0
         require 'dispatcher'
0
         
0
-        ActionController::AbstractRequest.relative_url_root = @prefix if @prefix 
0
+        ActionController::Base.relative_url_root = @prefix if @prefix
0
       end
0
       
0
       # TODO refactor this in File#can_serve?(path) ??

Comments