{% if admin.hasAccess('show', object) and admin.hasRoute('show') %} {# {{ 'action_show'|trans({}, 'SonataAdminBundle') }} #} {% endif %}