mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
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
2 changed files with 6 additions and 7 deletions
|
@ -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%%
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue