<h1><%= @blog.title %> by <%= @blog.user.name %></h1>
<%= link_to 'Edit', edit_blog_path(@blog.user, @blog) %> |
<%= link_to 'Back', blogs_path %>