Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
fix 4.1 deprecations which are bc safe (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst authored Aug 8, 2019
1 parent 0df1c44 commit 12c5dea
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Resources/views/layout/default-layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ fixed, layout-boxed, layout-top-nav, sidebar-collapse, sidebar-mini
<ul class="nav navbar-nav">
{% block navbar_start %}{% endblock %}
{% block navbar_messages %}
{{ render(controller('AdminLTEBundle:Navbar:messages')) }}
{{ render(controller('KevinPapst\\AdminLTEBundle\\Controller\\NavbarController:messagesAction')) }}
{% endblock %}
{% block navbar_notifications %}
{{ render(controller('AdminLTEBundle:Navbar:notifications')) }}
{{ render(controller('KevinPapst\\AdminLTEBundle\\Controller\\NavbarController:notificationsAction')) }}
{% endblock %}
{% block navbar_tasks %}
{{ render(controller('AdminLTEBundle:Navbar:tasks')) }}
{{ render(controller('KevinPapst\\AdminLTEBundle\\Controller\\NavbarController:tasksAction')) }}
{% endblock %}
{% block navbar_user %}
{{ render(controller('AdminLTEBundle:Navbar:user')) }}
{{ render(controller('KevinPapst\\AdminLTEBundle\\Controller\\NavbarController:userAction')) }}
{% endblock %}
{% block navbar_end %}{% endblock %}
{% block navbar_control_sidebar_toggle %}
Expand All @@ -78,19 +78,19 @@ fixed, layout-boxed, layout-top-nav, sidebar-collapse, sidebar-mini
<section class="sidebar">
{% block sidebar_user %}
{% if app.user is not null and is_granted('IS_AUTHENTICATED_FULLY') %}
{{ render(controller('AdminLTEBundle:Sidebar:userPanel')) }}
{{ render(controller('KevinPapst\\AdminLTEBundle\\Controller\\SidebarController:userPanelAction')) }}
{% endif %}
{% endblock %}

{% block sidebar_search %}
{{ render(controller('AdminLTEBundle:Sidebar:searchForm')) }}
{{ render(controller('KevinPapst\\AdminLTEBundle\\Controller\\SidebarController:searchFormAction')) }}
{% endblock %}

{% block sidebar_nav %}
{% if admin_lte_context.knp_menu.enable %}
{% include '@AdminLTE/Sidebar/knp-menu.html.twig' %}
{% else %}
{{ render(controller('AdminLTEBundle:Sidebar:menu', {'request':app.request})) }}
{{ render(controller('KevinPapst\\AdminLTEBundle\\Controller\\SidebarController:menuAction', {'request':app.request})) }}
{% endif %}
{% endblock %}
</section>
Expand All @@ -107,7 +107,7 @@ fixed, layout-boxed, layout-top-nav, sidebar-collapse, sidebar-mini
{% if admin_lte_context.knp_menu.enable %}
{% include '@AdminLTE/Breadcrumb/knp-breadcrumb.html.twig' %}
{% else %}
{{ render(controller('AdminLTEBundle:Breadcrumb:breadcrumb', {'request':app.request})) }}
{{ render(controller('KevinPapst\\AdminLTEBundle\\Controller\\BreadcrumbController:breadcrumbAction', {'request':app.request})) }}
{% endif %}
{% endblock %}
</section>
Expand Down

0 comments on commit 12c5dea

Please sign in to comment.