use url_for helper

This commit is contained in:
Andrew Croce
2018-09-25 08:06:58 -04:00
parent 04d03f3c93
commit 68f02603ad
3 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@
</a>
{% endif %}
<a href="/" class="topbar__link">
<a href="{{ url_for('atst.home') }}" class="topbar__link">
<span class="topbar__link-label">{{ g.current_user.first_name + " " + g.current_user.last_name }}</span>
{{ Icon('avatar', classes='topbar__link-icon') }}
</a>