Skip to content

Commit

Permalink
bug symfony#6482 fixed wrong secret string in array examples (OskarSt…
Browse files Browse the repository at this point in the history
…ark)

This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes symfony#6482).

Discussion
----------

fixed wrong secret string in array examples

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.7+
| Fixed tickets | --

Looks like this is a copy paste error from older doc versions where the string `$ecret` was used.

This needs to be applied to all branches from 2.7 on

Check the old version of the docs here where the `$ecret` string is used:
http://symfony.com/doc/2.6/cookbook/bundles/configuration.html

Commits
-------

f7950ab fixed wrong secret string in array examples
  • Loading branch information
wouterj committed Apr 18, 2016
2 parents b2df969 + f7950ab commit 7c1c926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/bundles/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ For the configuration example in the previous section, the array passed to your
array(
'twitter' => array(
'client_id' => 123,
'client_secret' => '$secret',
'client_secret' => 'your_secret',
),
),
)
Expand All @@ -155,7 +155,7 @@ beneath it, the incoming array might look like this::
array(
'twitter' => array(
'client_id' => 123,
'client_secret' => '$secret',
'client_secret' => 'your_secret',
),
),
// values from config_dev.yml
Expand Down

0 comments on commit 7c1c926

Please sign in to comment.