Fix: Correct admin navigation endpoint in base template
This commit is contained in:
parent
e9c26d172d
commit
6ed40b1c99
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
||||||
Dashboard
|
Dashboard
|
||||||
</a>
|
</a>
|
||||||
{% if current_user.is_admin %}
|
{% if current_user.is_admin %}
|
||||||
<a href="{{ url_for('admin.dashboard') }}" class="inline-flex items-center px-1 pt-1 border-b-2 border-transparent hover:border-gray-300 text-sm font-medium text-gray-500 hover:text-gray-700">
|
<a href="{{ url_for('admin.users') }}" class="inline-flex items-center px-1 pt-1 border-b-2 border-transparent hover:border-gray-300 text-sm font-medium text-gray-500 hover:text-gray-700">
|
||||||
Admin
|
Admin
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue