Show Moderate link in topbar. Add menu icons.
This commit is contained in:
parent
117239ee87
commit
ec43f47f92
3 changed files with 25 additions and 7 deletions
|
|
@ -15,7 +15,8 @@ class MyController < ApplicationController
|
|||
|
||||
def moderate_list
|
||||
# First package with pending screenshots
|
||||
@packages = Package.joins(:screenshots).where('screenshots.approved=false or screenshots.markedfordelete=true').distinct(:name)
|
||||
# @packages = Package.joins(:screenshots).where('screenshots.approved=false or screenshots.markedfordelete=true').distinct(:name)
|
||||
@packages = Package.need_moderation
|
||||
|
||||
# # # List of screenshots that were reported (to be removed)
|
||||
# # @reported_screenshots = Screenshot.where(markedfordelete: true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue