Took out helper method in app controller