Update ResourceGraphRoute.php

Use of baseUrl to get the base path