Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable "admin" does not exist in SonataUserBundle:Admin/Core:user_block.html.twig at line 7 #512

Closed
grizzlylab opened this issue Feb 4, 2015 · 1 comment

Comments

@grizzlylab
Copy link

Hi, got this error just after the login form.
To fix it just replace the line 7 by:
{% set _edit_profile_uri = url('admin_sonata_user_user_edit', {'id':app.user.id}) %}

@Bladrak
Copy link
Contributor

Bladrak commented Feb 5, 2015

Should be fixed by #514

@Bladrak Bladrak closed this as completed Feb 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants