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

Don't need to register controllers manually #36

Open
alex-fedorov opened this issue Jul 20, 2015 · 1 comment
Open

Don't need to register controllers manually #36

alex-fedorov opened this issue Jul 20, 2015 · 1 comment

Comments

@alex-fedorov
Copy link

You can define inherited hook on base controller. Example:

http://play.crystal-lang.org/#/r/7kn

all the hooks can be found in this spec: https://github.com/manastech/crystal/blob/119ccc89065165bc937b3417e5ac2af2bab6e056/spec/compiler/codegen/hooks_spec.cr

@sdogruyol
Copy link
Contributor

Wow that's pretty neat 👍

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