]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Only one pattern for LiipTheme 1132/head
authorJeremy <jeremy.benoist@gmail.com>
Sun, 1 Mar 2015 19:25:43 +0000 (20:25 +0100)
committerJeremy <jeremy.benoist@gmail.com>
Sun, 1 Mar 2015 19:25:43 +0000 (20:25 +0100)
Others patterns aren't required (but I think it's still important to have them around)

app/config/config.yml
src/Wallabag/CoreBundle/Helper/DetectActiveTheme.php

index b751c0bb294eda1e8c34537486dfa1d238bfcadb..367aa2763537dff1868576d823b42cbc014c06d3 100644 (file)
@@ -136,11 +136,11 @@ liip_theme:
     autodetect_theme: wallabag_core.helper.detect_active_theme
 
     path_patterns:
-        app_resource:
-            - %%app_path%%/views/themes/%%current_theme%%/%%template%%
-            - %%app_path%%/views/%%template%%
+        app_resource:
+            - %%app_path%%/views/themes/%%current_theme%%/%%template%%
+            - %%app_path%%/views/%%template%%
         bundle_resource:
             - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
-        bundle_resource_dir:
-            - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
-            - %%dir%%/views/%%bundle_name%%/%%override_path%%
+        bundle_resource_dir:
+            - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
+            - %%dir%%/views/%%bundle_name%%/%%override_path%%
index 2c742e6a2c8281fe60554d8a6e8933a1646c0dca..446629db2196ad5a76f460e2b5b45cd6e85c6ef8 100644 (file)
@@ -12,7 +12,6 @@ use Wallabag\CoreBundle\Entity\User;
  *
  * If no user where logged in, it will returne the default theme
  */
-
 class DetectActiveTheme implements DeviceDetectionInterface
 {
     protected $securityContext;