-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I'm just reading to make sure I'm using the gem right - you have a statement I need some clarity on ...
Arpa will create some helpers to use inside your controllers and views.
To verify if a user has access to some :controler and :action, use the following helper:
has_access?('users', 'index')
Obs.: To that helper method works. You must have :current_user attribute or method.
From what I can tell you are stating that "Observation: `has_access?` helper method requires to :current_user attribute or method to work.
From ... [Link](https://github.com/stantmob/arpa#association-between-arpaprofile-and-somemodel)
Metadata
Metadata
Assignees
Labels
No labels