Update routes.php

Changed the router location from pages to posts