Migrate controller and action references

This commit is contained in:
Yassine Guedidi
2022-08-25 23:18:48 +02:00
parent 1c880883e2
commit 481283bbee
11 changed files with 29 additions and 29 deletions

View File

@ -92,7 +92,7 @@
{% endfor %}
</div>
<div class="input-field baggy-add-tag" style="display: none">
{{ render(controller("WallabagCoreBundle:Tag:addTagForm", {'id': entry.id})) }}
{{ render(controller('Wallabag\\CoreBundle\\Controller\\TagController::addTagFormAction', {'id': entry.id})) }}
</div>
</aside>
</div>

View File

@ -3,5 +3,5 @@
{% block title %}{{ 'entry.new.page_title'|trans }}{% endblock %}
{% block content %}
{{ render(controller("WallabagCoreBundle:Entry:addEntryForm")) }}
{{ render(controller('Wallabag\\CoreBundle\\Controller\\EntryController::addEntryFormAction')) }}
{% endblock %}

View File

@ -35,7 +35,7 @@
<li class="menu new"><a href="{{ path('new') }}">{{ 'menu.left.save_link'|trans }}</a></li>
<li style="position: relative;"><a href="javascript: void(null);" id="search">{{ 'menu.left.search'|trans }}</a>
<div id="search-form" class="messages info popup-form">
{{ render(controller("WallabagCoreBundle:Entry:searchForm", {'currentRoute': app.request.attributes.get('_route')})) }}
{{ render(controller('Wallabag\\CoreBundle\\Controller\\EntryController::searchFormAction', {'currentRoute': app.request.attributes.get('_route')})) }}
</div>
</li>
{% if craue_setting('restricted_access') %}

View File

@ -297,7 +297,7 @@
</div>
<div class="input-field nav-panel-add-tag" style="display: none">
{{ render(controller("WallabagCoreBundle:Tag:addTagForm", {'id': entry.id})) }}
{{ render(controller('Wallabag\\CoreBundle\\Controller\\TagController::addTagFormAction', {'id': entry.id})) }}
</div>
</aside>

View File

@ -3,5 +3,5 @@
{% block title %}{{ 'entry.new.page_title'|trans }}{% endblock %}
{% block content %}
{{ render(controller("WallabagCoreBundle:Entry:addEntryForm")) }}
{{ render(controller('Wallabag\\CoreBundle\\Controller\\EntryController::addEntryFormAction')) }}
{% endblock %}

View File

@ -154,8 +154,8 @@
</ul>
</div>
{{ render(controller("WallabagCoreBundle:Entry:searchForm", {'currentRoute': current_route})) }}
{{ render(controller("WallabagCoreBundle:Entry:addEntryForm")) }}
{{ render(controller('Wallabag\\CoreBundle\\Controller\\EntryController::searchFormAction', {'currentRoute': current_route})) }}
{{ render(controller('Wallabag\\CoreBundle\\Controller\\EntryController::addEntryFormAction')) }}
</div>
</nav>
{% endblock %}