add Admin functionality to user

Hmm…I guess I’m not clear what exactly you’re referring to in this message and with all the messages you guys send regarding these pull requests.  In other words, is it the very last line here that you want indented?  The line that reads: You’re an Admin! 

?

Best, 

~Wax

jwaxnyc@gmail.com
917.279.6650

On Aug 11, 2014, at 5:02 PM, Matthew Mongeau <notifications@github.com> wrote:

> In app/views/layouts/application.html.erb:
> 
> > @@ -8,13 +8,22 @@
> >  </head>
> >  <body>
> >  
> > -  <% if signed_in? %>
> > -    <%= link_to "Sign out", session_path, method: :delete %>
> > -  <% else %>
> > -    <%= link_to "Sign in", new_session_path %>
> > -    <%= link_to "Sign up", new_user_path %>
> > -  <% end %>
> > -
> > +  <header class="top-bar">
> > +    <h3>
> > +      <% if signed_in? %>
> > +        Welcome <%= current_user.email %>
> > +        <%= link_to "Home", root_path %>
> > +        <%= link_to "Sign out", session_path, method: :delete %>
> > +        <% if current_user.admin? %>
> > +        You're an Admin! 
> This should be indented.
> 
> —
> Reply to this email directly or view it on GitHub.
>