resource.route is deprecated
My code is working however it gives me a warning that resource.route is depreciated. The comment says "please use action components and
getDefaultActionPath. I didnt find that in the docs though. Can someone tell me how to get the route the correct way?

