adminaccess 1.0.6
By passing in the current user email and the admin user email it tests if the user is classed as an admin user. Note: this gem is designed to work with Devise, but could work with other gems.
By passing in the current user email and the admin user email it tests if the user is classed as an admin user. Note: this gem is designed to work with Devise, but could work with other gems.