Show More
@@ -59,18 +59,6 b' class TreeHandler(IPythonHandler):' | |||||
59 | )) |
|
59 | )) | |
60 |
|
60 | |||
61 |
|
61 | |||
62 | class TreeRedirectHandler(IPythonHandler): |
|
|||
63 | """Redirect a request to the corresponding tree URL""" |
|
|||
64 |
|
||||
65 | @web.authenticated |
|
|||
66 | def get(self, path=''): |
|
|||
67 | url = url_escape(url_path_join( |
|
|||
68 | self.base_url, 'tree', path.strip('/') |
|
|||
69 | )) |
|
|||
70 | self.log.debug("Redirecting %s to %s", self.request.path, url) |
|
|||
71 | self.redirect(url) |
|
|||
72 |
|
||||
73 |
|
||||
74 | #----------------------------------------------------------------------------- |
|
62 | #----------------------------------------------------------------------------- | |
75 | # URL to handler mappings |
|
63 | # URL to handler mappings | |
76 | #----------------------------------------------------------------------------- |
|
64 | #----------------------------------------------------------------------------- |
General Comments 0
You need to be logged in to leave comments.
Login now