Refactored postsList route into a RouteController