removed view all link from status_message#show

This commit is contained in:
danielvincent 2010-09-20 20:17:18 -07:00
parent f50b70da9e
commit 4d200fea87

View file

@ -3,20 +3,14 @@
-# the COPYRIGHT file.
- title "Status Message"
%p
%strong Message:
%h1
= link_to @status_message.person.real_name, @status_message.person
= auto_link sanitize @status_message.message
%p
%strong Owner:
= @status_message.person.real_name
%h4= "comments (#{@status_message.comments.count})"
= render "comments/comments", :post => @status_message
%p
= link_to "Destroy", @status_message, :confirm => 'Are you sure?', :method => :delete
|
= link_to "View All", status_messages_path
- if current_user.owns? @status_message
= link_to "Destroy", @status_message, :confirm => 'Are you sure?', :method => :delete