diff options
author | Sam Stephenson <sam@37signals.com> | 2005-11-08 04:26:34 +0000 |
---|---|---|
committer | Sam Stephenson <sam@37signals.com> | 2005-11-08 04:26:34 +0000 |
commit | b661c9603a3d053f940e50fc1b63ff568f9b98f8 (patch) | |
tree | 4bd99f03f1642c5be34b8c553bb2f56df68bac22 /railties/lib/railties_path.rb | |
parent | c9ae41fe5154224a047efb4c8fccac4549755a0c (diff) | |
download | rails-b661c9603a3d053f940e50fc1b63ff568f9b98f8.tar.gz rails-b661c9603a3d053f940e50fc1b63ff568f9b98f8.tar.bz2 rails-b661c9603a3d053f940e50fc1b63ff568f9b98f8.zip |
Added an omnipresent RailsInfoController with a properties action that delivers an HTML rendering of Rails::Info (but only when local_request? is true). Added a new default index.html which fetches this with Ajax.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2933 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 b08ced8be5..817940504d 100644 --- a/railties/lib/railties_path.rb +++ b/railties/lib/railties_path.rb @@ -1 +1 @@ -RAILTIES_PATH = File.expand_path(File.dirname(__FILE__))
\ No newline at end of file +RAILTIES_PATH = File.expand_path(File.join(File.dirname(__FILE__), '..'))
\ No newline at end of file |