Removed over indentation of generrated code by scaffold

Closes #11027

Replaced 4 space indentation to 2 space for methods decalred after `private` declaration generated in controller by scaffold generator.