Having a proper indent in controller after private

Fixes #11027