fix nav again lol

This commit is contained in:
2015-02-28 18:26:49 +10:00
parent 11c92c9368
commit bad0d5b5f7
1 changed files with 3 additions and 3 deletions

View File

@ -27,10 +27,10 @@ mixin navdefaultlinks(page)
b.caret
ul.dropdown-menu
if loggedIn
li: a(href="#{loginDomain}/logout?dest=#{encodeURIComponent(baseUrl + page)}") Logout
li: a(href="/logout?dest=#{encodeURIComponent(baseUrl + page)}&_csrf=#{csrfToken}") Logout
li.divider
li: a(href="#{loginDomain}/account/channels") Channels
li: a(href="#{loginDomain}/account/profile") Profile
li: a(href="/account/channels") Channels
li: a(href="/account/profile") Profile
li: a(href="#{loginDomain}/account/edit") Change Password/Email
else
li: a(href="#{loginDomain}/login?dest=#{encodeURIComponent(baseUrl + page)}") Login