From ec912d00466d3209712df67c304e9c1fbcff9294 Mon Sep 17 00:00:00 2001 From: Ruben Harms Date: Fri, 26 Sep 2014 15:25:08 +0200 Subject: [PATCH] Default path that assetic can handle Why should we pointing the default paths to locations where assetic it can't handle? We should use views/ by default. --- Locator/FileLocator.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Locator/FileLocator.php b/Locator/FileLocator.php index 23a5d49..0a48c8d 100644 --- a/Locator/FileLocator.php +++ b/Locator/FileLocator.php @@ -68,15 +68,15 @@ public function __construct( $defaultPathPatterns = array( 'app_resource' => array( - '%app_path%/themes/%current_theme%/%template%', + '%app_path%/views/themes/%current_theme%/%template%', '%app_path%/views/%template%', ), 'bundle_resource' => array( '%bundle_path%/Resources/themes/%current_theme%/%template%', ), 'bundle_resource_dir' => array( - '%dir%/themes/%current_theme%/%bundle_name%/%template%', - '%dir%/%bundle_name%/%override_path%', + '%dir%/views/themes/%current_theme%/%bundle_name%/%template%', + '%dir%/views/%bundle_name%/%override_path%', ), );