diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-18 13:35:16 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-18 13:35:16 +0000 |
commit | 2632664f6459b387f64ba473712af049e543beb4 (patch) | |
tree | 37f76d2a8268f4e68bac0da0caae73efb53a4643 /railties/lib/railties_path.rb | |
parent | 27ba5edef1c4264a8d1c0e54675723d37a391dd8 (diff) | |
download | rails-2632664f6459b387f64ba473712af049e543beb4.tar.gz rails-2632664f6459b387f64ba473712af049e543beb4.tar.bz2 rails-2632664f6459b387f64ba473712af049e543beb4.zip |
Deprecation: remove components from controller paths. Canonicalize RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows. Closes #6755.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/railties_path.rb')
-rw-r--r-- | railties/lib/railties_path.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/railties_path.rb b/railties/lib/railties_path.rb index 817940504d..a298a4cc27 100644 --- a/railties/lib/railties_path.rb +++ b/railties/lib/railties_path.rb @@ -1 +1 @@ -RAILTIES_PATH = File.expand_path(File.join(File.dirname(__FILE__), '..'))
\ No newline at end of file +RAILTIES_PATH = File.join(File.dirname(__FILE__), '..') |