diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-11-27 20:52:28 +1100 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-11-29 11:00:16 +1100 |
commit | dc4dcb155589375a22c4fafea63f8bff85dd7044 (patch) | |
tree | 6c77cacd1d50b8689ee99edc02934981c254a5f7 /railties/guides/source | |
parent | fbdd72ecae9192c461794e37c76a663112dcaa6e (diff) | |
download | rails-dc4dcb155589375a22c4fafea63f8bff85dd7044.tar.gz rails-dc4dcb155589375a22c4fafea63f8bff85dd7044.tar.bz2 rails-dc4dcb155589375a22c4fafea63f8bff85dd7044.zip |
Add documentation for secret_token to config guide
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/configuring.textile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index 0ea7a7bb47..4677d2b983 100644 --- a/railties/guides/source/configuring.textile +++ b/railties/guides/source/configuring.textile @@ -81,6 +81,8 @@ h4. Rails General Configuration * +config.root+ configures the root path of the application. +* +config.secret_token+ used for specifying a key which allows sessions for the application to be verified against a known secure key to prevent tampering. + * +config.serve_static_assets+ configures Rails to serve static assets. Defaults to _true_, but in the production environment is turned off. The server software used to run the application should be used to serve the assets instead. * +config.time_zone+ sets the default time zone for the application and enables time zone awareness for Active Record. |