How to detect if a route is autogenerated like an 'index' route?


#1

So, I’m trying to figure out if a route was autogenerated versus an actual route the developer created. Is this possible?

I went through the entire tree of the object and can’t seem to find anything that would remotely let me know if it was auto-generated except for finding a property called template that’s null.


#2

I could swear there used to be an isGenerated property on either the route or controller but can’t find any reference to it

If you explain what you’re trying to accomplish then there might be another way