Skip to content

Commit

Permalink
Merge pull request #185 from tifabien/add-alias
Browse files Browse the repository at this point in the history
Add DeviceDetection alias for autowiring
  • Loading branch information
lsmith77 authored Dec 19, 2017
2 parents b679e2a + 717e1c0 commit 5d6ef0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Resources/config/templating.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
</service>

<service id="liip_theme.theme_auto_detect" class="Liip\ThemeBundle\Helper\DeviceDetection" />
<service id="Liip\ThemeBundle\Helper\DeviceDetectionInterface" alias="liip_theme.theme_auto_detect" />

<service id="liip_theme.active_theme" class="Liip\ThemeBundle\ActiveTheme">
<argument>%liip_theme.active_theme%</argument>
Expand Down

0 comments on commit 5d6ef0c

Please sign in to comment.