diff --git a/Resources/config/routing.yml b/Resources/config/routing.yml index a211a789d..534d931be 100644 --- a/Resources/config/routing.yml +++ b/Resources/config/routing.yml @@ -3,6 +3,10 @@ chill_person_view: pattern: /view/{id} defaults: { _controller: CLChillPersonBundle:Person:view } + options: + menu: person + order: 50 + label: menu.person.general_view chill_person_search: diff --git a/Resources/views/Person/view.html.twig b/Resources/views/Person/view.html.twig index 2ed217c0a..9e0480d38 100644 --- a/Resources/views/Person/view.html.twig +++ b/Resources/views/Person/view.html.twig @@ -25,10 +25,15 @@ This view should receive those arguments:
{% trans %}views.Person.view.without_nationality{% endtrans %}
{% endif %} - - {{ include("::menu.html.twig", {'person': person, 'menu_composer' : menu_composer }) }} - +My tab is active so I'll show up first! Inb4 tab 3!
+