change hashrocket to newer colon syntax

also minor cosmetic change to application_controller