aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/views/navbar.ejs
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-04-24 11:04:05 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-04-24 11:04:05 +0200
commit4fd493df5314eb13fff9dc8e7f92858985639497 (patch)
treea29a709e2a52ce9ace1f969b4aaa449466a05179 /views/navbar.ejs
parentChanged color on login to #FF9A00 (diff)
downloadDivid-4fd493df5314eb13fff9dc8e7f92858985639497.tar.gz
added logout
Diffstat (limited to '')
-rw-r--r--views/navbar.ejs4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/navbar.ejs b/views/navbar.ejs
index a10309c..1ad9534 100644
--- a/views/navbar.ejs
+++ b/views/navbar.ejs
@@ -30,7 +30,7 @@
</label>
</div>
<div class="span5">
- <button type="submit" class="btn btn-inverse btn-small">Logg inn</button><a href="/login/facebook">f</a>
+ <button type="submit" class="btn btn-inverse btn-small">Logg inn</button><a href="/auth/facebook">f</a>
</div>
</div>
</form>
@@ -54,7 +54,7 @@
</ul>
</div>
<% if(!loggedin) { %><a class="brand login" data-toggle="collapse" data-target=".login-collapse" href="#login">Logg inn</a>
- <% } else { %><a class="brand login">Logg ut</a>
+ <% } else { %><a href="/logout" class="brand login">Logg ut</a>
<% } %>
</div>
</div>