Others patterns aren't required (but I think it's still important to have them around)
autodetect_theme: wallabag_core.helper.detect_active_theme
path_patterns:
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:
- %%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%%
*
* 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
{
protected $securityContext;
class DetectActiveTheme implements DeviceDetectionInterface
{
protected $securityContext;