Fixed add routing for resource.