Skip to content
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

where to store "Extending Auth" #4

Closed
gicque opened this issue Dec 26, 2013 · 4 comments
Closed

where to store "Extending Auth" #4

gicque opened this issue Dec 26, 2013 · 4 comments

Comments

@gicque
Copy link

gicque commented Dec 26, 2013

your are describing how to extend Auth::can with Auth::rule, where do you stores thoses files ? do you have a recommended location ?
thank you.

@edvinaskrucas
Copy link
Owner

You can place them in filters.php

@gicque
Copy link
Author

gicque commented Jan 6, 2014

Thank you for the response,

it seem to me that putting them in filters.php make them strogly coupled with the application, what do you think ?

Thanks

@edvinaskrucas
Copy link
Owner

It might be, so basically you can put them where you want, you can add extra file and load.

@gicque
Copy link
Author

gicque commented Jan 6, 2014

ok, thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants