Indent controller actions properly

Fixes #1178