Update RatingsController.java

Bug fixed