Actually use the photos set in the controller
This commit is contained in:
parent
49e8347aa3
commit
b5ed2ec5b0
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
||||||
= render 'shared/reshare', :current_user => current_user, :aspects => reshare_aspects, :post => post
|
= render 'shared/reshare', :current_user => current_user, :aspects => reshare_aspects, :post => post
|
||||||
= link_to t('delete'), status_message_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete"
|
= link_to t('delete'), status_message_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete"
|
||||||
|
|
||||||
= render 'status_messages/status_message', :post => post, :photos => post.photos
|
= render 'status_messages/status_message', :post => post, :photos => photos
|
||||||
|
|
||||||
.info
|
.info
|
||||||
%span.time= link_to(how_long_ago(post), status_message_path(post))
|
%span.time= link_to(how_long_ago(post), status_message_path(post))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue