<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_controller(self, path):
 """ Return controller that handle given path. Args: - path: requested path, like: /blog/post_view/15 """

        path_info = path.lstrip('/').split('/', 2)
        try:
            return self._routes.get(path_info[0] + '/' + path_info[1])
        except (IndexError, KeyError):
            return self._routes.get(path_info[0] or 'index')