Corrected hook sub in Dancer2::Cookbook to match Dancer2::Manual::Hooks