From 4b38a158672dde4526518cb2b5fb85844fc40dc1 Mon Sep 17 00:00:00 2001 From: Kris Wallsmith Date: Sun, 10 Nov 2013 09:18:30 -0800 Subject: [PATCH 1/2] moved web_profiler settings to parameters.yml --- app/config/config_dev.yml | 4 ++-- app/config/parameters.yml.dist | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/config/config_dev.yml b/app/config/config_dev.yml index efcacdd43b..1cafa532fc 100644 --- a/app/config/config_dev.yml +++ b/app/config/config_dev.yml @@ -8,8 +8,8 @@ framework: profiler: { only_exceptions: false } web_profiler: - toolbar: true - intercept_redirects: false + toolbar: %debug_toolbar% + intercept_redirects: %debug_redirects% monolog: handlers: diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 8b317c27d2..a05b5d3590 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -13,3 +13,6 @@ parameters: locale: en secret: ThisTokenIsNotSoSecretChangeIt + + debug_toolbar: true + debug_redirects: false From c2bd33ca66b0cde4da6509274a767dd17f0c8a33 Mon Sep 17 00:00:00 2001 From: Kris Wallsmith Date: Sun, 10 Nov 2013 09:35:29 -0800 Subject: [PATCH 2/2] parameterize assetic's use_controller devs can disable assetic controller in dev if they prefer assetic:dump --watch --- app/config/config_dev.yml | 2 +- app/config/parameters.yml.dist | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/config/config_dev.yml b/app/config/config_dev.yml index 1cafa532fc..f885503ba0 100644 --- a/app/config/config_dev.yml +++ b/app/config/config_dev.yml @@ -30,7 +30,7 @@ monolog: # level: info assetic: - use_controller: true + use_controller: %use_assetic_controller% #swiftmailer: # delivery_address: me@example.com diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index a05b5d3590..ebdabb5a64 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -14,5 +14,6 @@ parameters: locale: en secret: ThisTokenIsNotSoSecretChangeIt - debug_toolbar: true - debug_redirects: false + debug_toolbar: true + debug_redirects: false + use_assetic_controller: true