Some controller cleanup

- use new Ruby syntax in controllers