1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add documentation for secret_token to config guide

This commit is contained in:
Ryan Bigg 2010-11-27 20:52:28 +11:00
parent fbdd72ecae
commit dc4dcb1555

View file

@ -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.