Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a .tmp path

  • Loading branch information...
commit 60219a13da9899b97f9b2ff4ecb7a9508aeea662 1 parent 9bb8ef9
@wycats wycats authored
View
3  railties/lib/rails/configuration.rb
@@ -71,7 +71,8 @@ def set_root_path!
@paths.lib "lib", :load_path => true
@paths.vendor "vendor", :load_path => true
@paths.vendor.plugins "vendor/plugins"
- @paths.cache "tmp/cache"
+ @paths.tmp "tmp"
+ @paths.tmp.cache "tmp/cache"
@paths.config "config"
@paths.config.locales "config/locales"
@paths.config.environments "config/environments", :glob => "#{RAILS_ENV}.rb"
View
3  railties/test/initializer/path_test.rb
@@ -30,7 +30,8 @@ def assert_path(paths, *dir)
assert_path @paths.lib, "lib"
assert_path @paths.vendor, "vendor"
assert_path @paths.vendor.plugins, "vendor", "plugins"
- assert_path @paths.cache, "tmp", "cache"
+ assert_path @paths.tmp, "tmp"
+ assert_path @paths.tmp.cache, "tmp", "cache"
assert_path @paths.config, "config"
assert_path @paths.config.locales, "config", "locales"
assert_path @paths.config.environments, "config", "environments"
Please sign in to comment.
Something went wrong with that request. Please try again.