aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
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-07-24 13:33:53 +0200
commit7e665d2397c550a352503dc9966d576b5ef355e9 (patch)
treec8e1ce3a039142db68cfa2c9024e015d4512b40f /guides/source
parent88667eba4dd2291402ef0fb90237378446a175dd (diff)
downloadrails-7e665d2397c550a352503dc9966d576b5ef355e9.tar.gz
rails-7e665d2397c550a352503dc9966d576b5ef355e9.tar.bz2
rails-7e665d2397c550a352503dc9966d576b5ef355e9.zip
Updated guides with latest method [ci skip]
Diffstat (limited to 'guides/source')
-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 36d47b9be8..b3dca3df24 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -3832,13 +3832,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`
-------------------------