Browse Source

Replaced non existing homepage route with admin dashboard route

Emmanuel Vella 13 years ago
parent
commit
2468face6f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Resources/views/Admin/Field/impersonating.html.twig

+ 2 - 2
Resources/views/Admin/Field/impersonating.html.twig

@@ -12,5 +12,5 @@ file that was distributed with this source code.
 {% extends 'SonataAdminBundle:CRUD:base_list_field.html.twig' %}
 
 {% block field %}
-    <a href="{{ url('homepage', {'_switch_user': object.username}) }}">{{ "switch_user"|trans({}, 'SonataUserBundle')}}</a>
-{% endblock %}
+    <a href="{{ url('sonata_admin_dashboard', {'_switch_user': object.username}) }}">{{ "switch_user"|trans({}, 'SonataUserBundle')}}</a>
+{% endblock %}