Hey, I was wondering if there is a good way to get the current view from the introspector?
I've got the route introspectable doing:
introspector = request.registry.introspector
route_intr = introspector.get('routes', route_name)
and can see its related stuff with:
introspector.related(route_intr)
but I want to be able to just grab the view that was matched with the route. Should I just loop over related and check the category?