Commit 846268be authored by Tom Kedem's avatar Tom Kedem

fixed deprecated index url.

parent db3e7115
......@@ -697,8 +697,8 @@ class BaseFileAdmin(BaseView, ActionsMixin):
breadcrumbs.append((n, self._separator.join(accumulator)))
return breadcrumbs
@expose('/')
@expose('/b/<path:path>')
@expose('/old_index')
@expose('/old_b/<path:path>')
def index(self, path=None):
warnings.warn('deprecated: use index_view instead.', DeprecationWarning)
return redirect(self.get_url('.index_view', path=path))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment