aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/configuring.textile
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2010-12-03 17:34:34 +1100
committerRyan Bigg <radarlistener@gmail.com>2010-12-03 17:34:34 +1100
commit04779fbadd4e77887a8899585f01141cfc27babc (patch)
tree181755cdec60d7c65c3556dd56d043be7acc9c0d /railties/guides/source/configuring.textile
parente600f8420821f1356553e908155be7a153c43391 (diff)
downloadrails-04779fbadd4e77887a8899585f01141cfc27babc.tar.gz
rails-04779fbadd4e77887a8899585f01141cfc27babc.tar.bz2
rails-04779fbadd4e77887a8899585f01141cfc27babc.zip
Config guide: should use config.action_dispatch.tld_length to set the TLD
Diffstat (limited to 'railties/guides/source/configuring.textile')
-rw-r--r--railties/guides/source/configuring.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index b761a4f826..83789ab710 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -260,14 +260,14 @@ h4. Configuring Action Dispatch
* +config.action_dispatch.session_store+ sets the name of the store for session data. The default is +:cookie_store+; other valid options include +:active_record_store+, +:mem_cache_store+ or the name of your own custom class.
+* +config.action_dispatch.tld_length+ sets the TLD (top-level domain) length for the application. Defaults to +1+.
+
* +ActionDispatch::Callbacks.before+ takes a block of code to run before the request.
* +ActionDispatch::Callbacks.to_prepare+ takes a block to run after +ActionDispatch::Callbacks.before+, but before the request. Runs for every request in +development+ mode, but only once for +production+ or environments with +cache_classes+ set to +true+.
* +ActionDispatch::Callbacks.after+ takes a block of code to run after the request.
-* +ActionDispatch::Http::URL.tld_length+ sets the TLD (top-level domain) length for the application. Defaults to +1+.
-
h4. Configuring Action View
There are only a few configuration options for Action View, starting with four on +ActionView::Base+: