fix deprecation warning in scaffold controllers
Merge pull request #11088 from nolman/nolman/scaffold-fix

fix deprecation warning in scaffold controllers