Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Logging out, header links, etc

  • Loading branch information...
commit eab293530058a418c153eb84cde268db2b6e264e 1 parent b69f779
myfreeweb authored
Showing with 8 additions and 4 deletions.
  1. +8 −4 views/header.haml
View
12 views/header.haml
@@ -1,6 +1,10 @@
%header
%h1 Wikibox
- = if flash[:error]
- %div.error= flash[:error]
- = if flash[:info]
- %div.info= flash[:info]
+ %nav
+ %strong= @user.email
+ %a{:href => "/settings"} settings
+ %a{:href => "/logout"} log out
+= if flash[:error]
+ %div.error= flash[:error]
+= if flash[:info]
+ %div.info= flash[:info]
Please sign in to comment.
Something went wrong with that request. Please try again.