I built an app with devise and would like to add an admin approval requirement for any new users. I followed this tutorial: https://github.com/p...-before-sign_in
I have everything working, except I would like help coding a view page so the logged in admin can actually approve the new users. How would I create a view to change the User model attribute :approved from false to true? I've had success doing it in the console, but don't know how to code it into the view!
Thanks for any advice!