Skip to content

Commit

Permalink
add admin route to header
Browse files Browse the repository at this point in the history
  • Loading branch information
ErfiDev committed Dec 4, 2021
1 parent 35ad3f2 commit 7a0ed17
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions views/base.layout.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@
{{end}}
</li>
{{end}}
{{if eq .Auth 1}}
<li class="header-ul-option header-admin used">
<a href="/admin/dashboard">
Dashboard
</a>
</li>
{{end}}
</ul>
</header>

Expand Down

0 comments on commit 7a0ed17

Please sign in to comment.