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