Shortcut for self.route_map().connect() method. It is possible to pass presenter class instead of
		its name - in that case such class will be saved in presenter collection and it will be available in
		route matching.

		:param pattern: same as pattern in :meth:`.WWebRouteMap.connect` method
		:param presenter: presenter name or presenter class
		:param kwargs: same as kwargs in :meth:`.WWebRouteMap.connect` method
		:return: None

def connect(self, pattern, presenter, **kwargs):
		""" Shortcut for self.route_map().connect() method. It is possible to pass presenter class instead of
		its name - in that case such class will be saved in presenter collection and it will be available in
		route matching.

		:param pattern: same as pattern in :meth:`.WWebRouteMap.connect` method
		:param presenter: presenter name or presenter class
		:param kwargs: same as kwargs in :meth:`.WWebRouteMap.connect` method
		:return: None
		"""
		if isinstance(presenter, type) and issubclass(presenter, WWebPresenter) is True:
			self.presenter_collection().add(presenter)
			presenter = presenter.__presenter_name__()
		self.__route_map.connect(pattern, presenter, **kwargs)