aboutsummaryrefslogtreecommitdiffstats
path: root/railties/builtin/rails_info
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2006-04-03 05:15:29 +0000
committerNicholas Seckar <nseckar@gmail.com>2006-04-03 05:15:29 +0000
commitbf109cacf15d8f84b28f8f092084647ba5216d95 (patch)
tree8f5f6e0f45eea371cde8e3a27919d584f047f03f /railties/builtin/rails_info
parent462c9176a8c09760e1136c0f85c711f6f9540dce (diff)
downloadrails-bf109cacf15d8f84b28f8f092084647ba5216d95.tar.gz
rails-bf109cacf15d8f84b28f8f092084647ba5216d95.tar.bz2
rails-bf109cacf15d8f84b28f8f092084647ba5216d95.zip
Install alias so Rails::InfoController is accessible at /rails_info. Closes #4546.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/builtin/rails_info')
-rw-r--r--railties/builtin/rails_info/rails/info_helper.rb2
-rw-r--r--railties/builtin/rails_info/rails_info_controller.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/railties/builtin/rails_info/rails/info_helper.rb b/railties/builtin/rails_info/rails/info_helper.rb
new file mode 100644
index 0000000000..e5605a8d9b
--- /dev/null
+++ b/railties/builtin/rails_info/rails/info_helper.rb
@@ -0,0 +1,2 @@
+module Rails::InfoHelper
+end
diff --git a/railties/builtin/rails_info/rails_info_controller.rb b/railties/builtin/rails_info/rails_info_controller.rb
new file mode 100644
index 0000000000..2009eb3a99
--- /dev/null
+++ b/railties/builtin/rails_info/rails_info_controller.rb
@@ -0,0 +1,2 @@
+# Alias to ensure old public.html still works.
+RailsInfoController = Rails::InfoController