admin can delete posts, add Moderate link on nav bar

Admins can delete posts
Moderate Link is on Admin's Nav Bar
oh snap. sorry about this one. i used the root_path as a placeholder for now cuz we are waiting for an additional page to be created that it will eventually be linked to.  i’m sure that’s considered bad practice so i should not have included it in the PR.  
Best, 

~Wax

jwaxnyc@gmail.com
917.279.6650

On Aug 7, 2014, at 9:35 PM, Matthew Mongeau <notifications@github.com> wrote:

> In app/views/layouts/application.html.erb:
> 
> > @@ -15,7 +15,8 @@
> >            <%= link_to "Home", root_path %>
> >            <%= link_to "Sign out", sign_out_path, method: :delete %>
> >            <% if current_user.admin? %>
> > -            Welcome, Admin!
> > +            You're an Admin!
> > +            <%= link_to "Moderate", root_path %>
> Why the root path? Just want the link up there?
> 
> —
> Reply to this email directly or view it on GitHub.
>