diff --git a/app/views/blogs/_blog.html.haml b/app/views/blogs/_blog.html.haml index c4b4b9f9e..2c8ba7b67 100644 --- a/app/views/blogs/_blog.html.haml +++ b/app/views/blogs/_blog.html.haml @@ -1,6 +1,6 @@ %li.message{:class => ("mine" if mine?(post))} %span.from - = link_to post.owner, "#" + = link_to post.person.real_name, "#" %b wrote a new blog post %br %b= post.title @@ -8,4 +8,4 @@ = raw post.body %div.time= link_to "#{time_ago_in_words(post.updated_at)} ago", blog_path(post) - if mine?(post) - = link_to 'Destroy', blog_path(post), :confirm => 'Are you sure?', :method => :delete \ No newline at end of file + = link_to 'Destroy', blog_path(post), :confirm => 'Are you sure?', :method => :delete