aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorAnil Wadghule <anildigital@gmail.com>2010-04-12 22:20:55 +0530
committerAnil Wadghule <anildigital@gmail.com>2010-04-12 22:53:49 +0530
commit84e46437fa50782dd38b96b8df00ca8b017c892e (patch)
tree9e9743de0e1cd9220a0f9a850865787f41cba875 /actionpack/lib/action_controller
parent41bcf06d3289e2292fcc3819c8f104252af36adc (diff)
downloadrails-84e46437fa50782dd38b96b8df00ca8b017c892e.tar.gz
rails-84e46437fa50782dd38b96b8df00ca8b017c892e.tar.bz2
rails-84e46437fa50782dd38b96b8df00ca8b017c892e.zip
Replace 'RAILS_ROOT' to 'Rails.root' and 'RAILS_ENV' to 'Rails.env' in significant places.
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/caching/pages.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/caching/pages.rb b/actionpack/lib/action_controller/caching/pages.rb
index 2a0a1107eb..21a424e6f0 100644
--- a/actionpack/lib/action_controller/caching/pages.rb
+++ b/actionpack/lib/action_controller/caching/pages.rb
@@ -41,7 +41,7 @@ module ActionController #:nodoc:
##
# :singleton-method:
# The cache directory should be the document root for the web server and is set using <tt>Base.page_cache_directory = "/document/root"</tt>.
- # For Rails, this directory has already been set to Rails.public_path (which is usually set to <tt>RAILS_ROOT + "/public"</tt>). Changing
+ # For Rails, this directory has already been set to Rails.public_path (which is usually set to <tt>Rails.root + "/public"</tt>). Changing
# this setting can be useful to avoid naming conflicts with files in <tt>public/</tt>, but doing so will likely require configuring your
# web server to look in the new location for cached files.
@@page_cache_directory = ''