Fixes #4231: turned Controller::findLayoutFile() from protected to public.