GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Allow Rails controllers in too

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@4520 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Thu Jun 29 20:15:42 -0700 2006
commit  9fba3cd35e48f0245b68add546129a4726028b94
tree    098b279414d47e111dd4d828517e454ec2157bb3
parent  bd01d408a641c0ab3aec440dc26077abfeba164f
...
263
264
265
266
267
268
269
270
271
272
 
273
274
275
...
263
264
265
 
266
267
268
269
270
 
271
272
273
274
0
@@ -263,13 +263,12 @@ module ActionController
0
         end
0
         
0
       protected
0
-
0
         def safe_load_paths #:nodoc:
0
           if defined?(RAILS_ROOT)
0
             $LOAD_PATH.select do |base|
0
               base = File.expand_path(base)
0
               extended_root = File.expand_path(RAILS_ROOT)
0
- base[0, extended_root.length] == extended_root
0
+ base[0, extended_root.length] == extended_root || base =~ %r{rails-[\d.]+/builtin}
0
             end
0
           else
0
             $LOAD_PATH

Comments

    No one has commented yet.