changed root to the locations controller instead of restaurants controller, sorted locations