Closed kylecrsn closed 6 years ago
So its failing the rental show test because when it gets to my elsif logic for displaying the user promote button, it can't find a session for the current user, resulting in calling .admin on nil. I'm not sure how to deal with this, anyone have any thoughts?
This PR addresses issue #70 .
When an admin user views another user's profile who isn't an admin a button will be there allowing them to promote the user to admin. As a result, a log will be created in each one's history about the event