Closed snooc closed 11 years ago
The filters and helpers are hard coded to use the User model. If you are using a model class anything else, the filters will fail.
Example:
# User.rb authenticate_user! current_user # AdminUser.rb authenticate_admin_user! current_admin_user
Instructions are at the bottom of the README.
The filters and helpers are hard coded to use the User model. If you are using a model class anything else, the filters will fail.
Example:
Instructions are at the bottom of the README.