Skip to content

Commit

Permalink
fix: Since symfony/http-kernel 5.1: Referencing controllers with a si…
Browse files Browse the repository at this point in the history
…ngle colon is deprecated

 Use "CoreShop\Bundle\FrontendBundle\Controller\CategoryController::menuLeftAction" instead.
  • Loading branch information
dkarlovi authored Jan 21, 2022
1 parent 2c51349 commit ec7647d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<div class="row">
<div class="col-md-3">
{% if category is defined %}
{{ render(controller('CoreShop\\Bundle\\FrontendBundle\\Controller\\CategoryController:menuLeftAction', {activeCategory: category})) }}
{{ render(controller('CoreShop\\Bundle\\FrontendBundle\\Controller\\CategoryController::menuLeftAction', {activeCategory: category})) }}
{% else %}
{{ render(controller('CoreShop\\Bundle\\FrontendBundle\\Controller\\CategoryController:menuLeftAction')) }}
{{ render(controller('CoreShop\\Bundle\\FrontendBundle\\Controller\\CategoryController::menuLeftAction')) }}
{% endif %}

{% block left %}
Expand Down

0 comments on commit ec7647d

Please sign in to comment.