code: def get_controller(self, state):
          '''
          Retrieves the actual controller name from the application
          Specific to Pecan (not available in the request object)
          '''
          path = state.request.pecan['routing_path'].split('/')[1:]
          return state.controller.__str__().split()[2f get_controller(self, state):
          '''
          Retrieves the actual controller name from the application
          Specific to Pecan (not available in the request object)
          '''
          path = state.request.pecan['routing_path'].split('/')[1:]
          return state.controller.__str__().split()[2]
docs: Retrieves the actual controller name from the application
          Specific to Pecan (not available in the request object)