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:
parent
495aecfe74
commit
3e30422cda
@ -136,11 +136,11 @@ liip_theme:
|
|||||||
autodetect_theme: wallabag_core.helper.detect_active_theme
|
autodetect_theme: wallabag_core.helper.detect_active_theme
|
||||||
|
|
||||||
path_patterns:
|
path_patterns:
|
||||||
app_resource:
|
# app_resource:
|
||||||
- %%app_path%%/views/themes/%%current_theme%%/%%template%%
|
# - %%app_path%%/views/themes/%%current_theme%%/%%template%%
|
||||||
- %%app_path%%/views/%%template%%
|
# - %%app_path%%/views/%%template%%
|
||||||
bundle_resource:
|
bundle_resource:
|
||||||
- %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
|
- %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
|
||||||
bundle_resource_dir:
|
# bundle_resource_dir:
|
||||||
- %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
|
# - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
|
||||||
- %%dir%%/views/%%bundle_name%%/%%override_path%%
|
# - %%dir%%/views/%%bundle_name%%/%%override_path%%
|
||||||
|
@ -12,7 +12,6 @@ use Wallabag\CoreBundle\Entity\User;
|
|||||||
*
|
*
|
||||||
* If no user where logged in, it will returne the default theme
|
* If no user where logged in, it will returne the default theme
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class DetectActiveTheme implements DeviceDetectionInterface
|
class DetectActiveTheme implements DeviceDetectionInterface
|
||||||
{
|
{
|
||||||
protected $securityContext;
|
protected $securityContext;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user