Only one pattern for LiipTheme

Others patterns aren't required (but I think it's still important to have them around)
This commit is contained in:
Jeremy 2015-03-01 20:25:43 +01:00
parent 495aecfe74
commit 3e30422cda
2 changed files with 6 additions and 7 deletions

View 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%%

View 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;