aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorKamil Śliwak <cameel2@gmail.com>2011-08-15 03:13:07 +0300
committerKamil Śliwak <cameel2@gmail.com>2011-08-15 03:13:07 +0300
commitc026cc254cd1afd2f4f3dbaa6b537ed4c8c5a4f3 (patch)
treef3b72407bc5fd9cb536c4d0adee1c1237da5ebf5 /railties
parent7712db4c82975403913e0395f860242ead322570 (diff)
downloadrails-c026cc254cd1afd2f4f3dbaa6b537ed4c8c5a4f3.tar.gz
rails-c026cc254cd1afd2f4f3dbaa6b537ed4c8c5a4f3.tar.bz2
rails-c026cc254cd1afd2f4f3dbaa6b537ed4c8c5a4f3.zip
Fix a typo in 'Configuring Rails Applications' guide
- The initializer is called `set_autoload_paths`, not `set_autoload_path`. See https://github.com/rails/rails/blob/master/railties/lib/rails/engine.rb#L506
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/configuring.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index 2ff5de2334..110c04f66e 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -557,7 +557,7 @@ The error occurred while evaluating nil.each
*+set_load_path+* This initializer runs before +bootstrap_hook+. Adds the +vendor+, +lib+, all directories of +app+ and any paths specified by +config.load_paths+ to +$LOAD_PATH+.
-*+set_autoload_path+* This initializer runs before +bootstrap_hook+. Adds all sub-directories of +app+ and paths specified by +config.autoload_paths+ to +ActiveSupport::Dependencies.autoload_paths+.
+*+set_autoload_paths+* This initializer runs before +bootstrap_hook+. Adds all sub-directories of +app+ and paths specified by +config.autoload_paths+ to +ActiveSupport::Dependencies.autoload_paths+.
*+add_routing_paths+* Loads (by default) all +config/routes.rb+ files (in the application and railties, including engines) and sets up the routes for the application.