removed view all link from status_message#show
This commit is contained in:
parent
f50b70da9e
commit
4d200fea87
1 changed files with 4 additions and 10 deletions
|
|
@ -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
|
||||
- if current_user.owns? @status_message
|
||||
= link_to "Destroy", @status_message, :confirm => 'Are you sure?', :method => :delete
|
||||
|
|
||||
= link_to "View All", status_messages_path
|
||||
|
|
|
|||
Loading…
Reference in a new issue