aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRashmi Yadav <rays.rashmi@gmail.com>2013-07-24 13:33:53 +0200
committerRashmi Yadav <rays.rashmi@gmail.com>2013-09-13 18:47:44 +0200
commite4d6a61cd62911af2d85f8d899bb3cbaeeb38574 (patch)
tree90d6170d2e7e3a7b66f4c1b924e6cceadd7c3fad
parentab5a4b59be903a5897eca69bb3fe49c79fc80806 (diff)
downloadrails-e4d6a61cd62911af2d85f8d899bb3cbaeeb38574.tar.gz
rails-e4d6a61cd62911af2d85f8d899bb3cbaeeb38574.tar.bz2
rails-e4d6a61cd62911af2d85f8d899bb3cbaeeb38574.zip
Updated guides with latest method [ci skip]
-rw-r--r--guides/source/active_support_core_extensions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index ec2928ee05..08a95f3fd9 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -3844,13 +3844,13 @@ def default_helper_module!
module_path = module_name.underscore
helper module_path
rescue MissingSourceFile => e
- raise e unless e.is_missing? "#{module_path}_helper"
+ raise e unless e.is_missing? "helpers/#{module_path}_helper"
rescue NameError => e
raise e unless e.missing_name? "#{module_name}Helper"
end
```
-NOTE: Defined in `active_support/core_ext/name_error.rb`.
+NOTE: Defined in `actionpack/lib/abstract_controller/helpers.rb`.
Extensions to `LoadError`
-------------------------