Moved viewRatings to rating controller