Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 87539d1

Browse files
committed
feature #722 Simplified the parameters.yml file (javiereguiluz)
This PR was squashed before being merged into the 2.6-dev branch (closes #722). Discussion ---------- Simplified the parameters.yml file | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | - | Fixed tickets | - | License | MIT | Doc PR | - Originally, the `parameters.yml` was designed to define the infrastructure-related settings (in other words, the settings that may change from one computer to another). Meanwhile, the `config_*.yml` files are the ones that define the application behavior (in other words, the settings that stay the same from one computer to another). In my opinion, the three removed parameters are related to application behavior and they shouldn't be defined at the `parameters.yml` file. Commits ------- 48d4ad9 Simplified the parameters.yml file
2 parents 3ec9471 + 48d4ad9 commit 87539d1

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

app/config/config_dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ framework:
88
profiler: { only_exceptions: false }
99

1010
web_profiler:
11-
toolbar: "%debug_toolbar%"
12-
intercept_redirects: "%debug_redirects%"
11+
toolbar: true
12+
intercept_redirects: false
1313

1414
monolog:
1515
handlers:
@@ -42,7 +42,7 @@ monolog:
4242
# level: info
4343

4444
assetic:
45-
use_controller: "%use_assetic_controller%"
45+
use_controller: true
4646

4747
#swiftmailer:
4848
# delivery_address: me@example.com

app/config/parameters.yml.dist

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,3 @@ parameters:
1818

1919
# A secret key that's used to generate certain security-related tokens
2020
secret: ThisTokenIsNotSoSecretChangeIt
21-
22-
debug_toolbar: true
23-
debug_redirects: false
24-
use_assetic_controller: true

0 commit comments

Comments
 (0)