-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
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
Protege rotas de seleção de condomínios #113
Conversation
Co-authored-by: zutin <gianluccaz@hotmail.com>
Co-authored-by: zutin <gianluccaz@hotmail.com>
Co-authored-by: zutin <gianluccaz@hotmail.com>
Co-authored-by: zutin <gianluccaz@hotmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Acho aqui aqui vale criar um controller personalizado que herda de application controller, dai todos esses controllers que tem autorização idêntica herdam desse novo controller customizado.
Achei melhor só adicionar o método ao |
…ntroller Co-authored-by: zutin <gianluccaz@hotmail.com>
Co-authored-by: zutin <gianluccaz@hotmail.com>
Validações para as rotas:
Admin:
condos_selection
condos_selection_post
Condos:
index
show
Common areas:
index
show
Common area fees
new
create