Rails: How can I add admin approve functionality where user uploaded images have to be approved before they are displayed on their profiles?
Rails: How can I add admin approve functionality where user uploaded images have to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How about add a column to the user’s avatar that says
admin_approvedor something similar? Since you’re using ActiveAdmin, it should pick up the column (unless you’ve specified otherwise). You then add a check before displaying the image: