We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
# do this only for users in the admin role group (user has either :admin or :super_admin role) current_user.is_in_group? :admin do ... end
should be:
# do this only for users in the admin role group (user has either :admin or :super_admin role) current_user.is_in_group? :admins do ... end
Because the previous declaration is:
User.add_role_group :customers => [:individual_customer, :company_customer] User.add_role_group :admins => [:admin, :super_admin]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
should be:
Because the previous declaration is:
The text was updated successfully, but these errors were encountered: