amethyst icon indicating copy to clipboard operation
amethyst copied to clipboard

Don't need to register controllers manually

Open alex-fedorov opened this issue 10 years ago • 1 comments

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

alex-fedorov avatar Jul 20 '15 07:07 alex-fedorov

Wow that's pretty neat :+1:

sdogruyol avatar Jul 20 '15 11:07 sdogruyol