Move actions from methods in Rails to controllers to there action classes.