resubmmiting object path bug. not sure how it got overwritten
This commit is contained in:
parent
61e2f6501f
commit
18505bf23c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue