aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/configuring.textile
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-03-28 06:58:17 -0700
committerSantiago Pastorino <santiago@wyeworks.com>2012-03-28 10:58:57 -0300
commit84ca8c8cd07d700598e87b418370268f146b122c (patch)
treead46958fd3b6266318e6cca057ccc2f306ab82a7 /railties/guides/source/configuring.textile
parent4f66586bbfacbce4c07f2b9d8d142be1bf6d4e5e (diff)
downloadrails-84ca8c8cd07d700598e87b418370268f146b122c.tar.gz
rails-84ca8c8cd07d700598e87b418370268f146b122c.tar.bz2
rails-84ca8c8cd07d700598e87b418370268f146b122c.zip
Merge pull request #5633 from drogus/embed-auth-token-in-remote-forms
Embed auth token in remote forms
Diffstat (limited to 'railties/guides/source/configuring.textile')
-rw-r--r--railties/guides/source/configuring.textile2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index 11dbba0e3d..60034cdda5 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -375,6 +375,8 @@ And can reference in the view with the following code:
* +config.action_view.cache_asset_ids+ With the cache enabled, the asset tag helper methods will make fewer expensive file system calls (the default implementation checks the file system timestamp). However this prevents you from modifying any asset files while the server is running.
+* +config.action_view.embed_authenticity_token_in_remote_forms+ This is by default set to true. If you set it to false, authenticity_token will not be added to forms with +:remote => true+ by default. You can force +authenticity_token+ to be added to such remote form by passing +:authenticity_token => true+ option.
+
h4. Configuring Action Mailer
There are a number of settings available on +config.action_mailer+: