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:
parent
fbdd72ecae
commit
dc4dcb1555
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue