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.
Required Ruby Version
>= 0
Authors
Roisin Kelly
Versions
- 1.0.6 March 26, 2014 (3.5 KB)
- 1.0.5 March 24, 2014 (3.5 KB)
- 1.0.4 March 24, 2014 (3.5 KB)
- 1.0.3 March 24, 2014 (3.5 KB)
- 1.0.2 March 24, 2014 (3 KB)