Fixed dropdown to allow users to delete their own screenshots

This commit is contained in:
Christoph Haas 2016-06-27 18:06:11 +02:00
parent 54ee5d80a7
commit c69a4270e9

View file

@ -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: