def get_controller(self, state):
        path = state.request.pecan['routing_path'].split('/')[1:]
        return state.controller.__str__().split()[2]
Retrieves the actual controller name from the application
dataset/ETHPy150Open pecan/pecan/pecan/hooks.py/RequestViewerHook.get_controller