Moved moderation code to new moderate controller

This commit is contained in:
Christoph Haas 2016-04-14 16:49:17 +02:00
parent b32f26a1b8
commit a153391615
12 changed files with 79 additions and 48 deletions

View file

@ -23,10 +23,6 @@
- elsif screenshot.approved
= render(partial: 'report_dropdown', locals: {screenshot: screenshot})
// Anonymous users can see their own screenshots
/ - if not screenshot.approved
- else
.row.listview
img src='/images/dummy/no-screenshots-available.svg' width='100%' style='padding: 0 10%'