Permalink
Browse files

Add documentation about the Action Dispatch salt configuration

[ci skip]
  • Loading branch information...
1 parent a6dfe5f commit 73c1fc531d70dae5faffe01a31445b4fb8a0d951 @rafaelfranca rafaelfranca committed Nov 20, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 guides/source/configuring.md
@@ -329,6 +329,14 @@ The schema dumper adds one additional configuration option:
* `config.action_dispatch.tld_length` sets the TLD (top-level domain) length for the application. Defaults to `1`.
+* `config.action_dispatch.http_auth_salt` sets the HTTP Auth salt value. Defaults to `'http authentication'`.
+
+* `config.action_dispatch.signed_cookie_salt` sets the signed cookies salt value. Defaults to `'signed cookie'`.
+
+* `config.action_dispatch.encrypted_cookie_salt` sets the encrypted cookies salt value. Defaults to `'encrypted cookie'`.
+
+* `config.action_dispatch.encrypted_signed_cookie_salt` sets the signed encrypted cookies salt value. Defaults to `'signed encrypted cookie'`.
+
* `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`.

0 comments on commit 73c1fc5

Please sign in to comment.