Fixed dropdown to allow users to delete their own screenshots
This commit is contained in:
parent
54ee5d80a7
commit
c69a4270e9
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
|||
'Manage your screenshot
|
||||
.dropdown-pane data-dropdown=true id="admin-info-#{screenshot.id}"
|
||||
a.button.small.alert[
|
||||
href=delete_screenshot_path(@package.name, screenshot.id)
|
||||
href=delete_screenshot_path(screenshot.id)
|
||||
onclick="return confirm('Really delete the screenshot?');"
|
||||
] Delete screenshot
|
||||
p Write a description for this screenshot:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue