diff --git a/app/views/shared/_stream_element.haml b/app/views/shared/_stream_element.haml index ed0dd2575..16687083e 100644 --- a/app/views/shared/_stream_element.haml +++ b/app/views/shared/_stream_element.haml @@ -20,7 +20,7 @@ - if current_user.owns?(post) .right - = link_to t('delete'), photo_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete" + = link_to t('delete'), object_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete" = render type_partial(post), :post => post diff --git a/pkg b/pkg index 3bb1e77a0..75ac12645 160000 --- a/pkg +++ b/pkg @@ -1 +1 @@ -Subproject commit 3bb1e77a05979a2af130515eea9ea7fceacaed2a +Subproject commit 75ac12645e63f3c7533c2d0aaafbb685b1a45287