<%= @blog_post.content.html_safe %>
<% if user_signed_in? %> <%= link_to 'Edit', edit_blog_post_path(@blog_post) %> | <%= link_to 'Back', blog_path %> <% else %> <%= link_to 'Back', blog_path %> <% end %>