Created /:resource route.