resources controller
fix indenting