Commit a439e439 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #1207 from ei-grad/allowemptyurl

Allow to use empty url for AdminIndexView
parents 8f775371 bf4d2db6
...@@ -439,7 +439,7 @@ class AdminIndexView(BaseView): ...@@ -439,7 +439,7 @@ class AdminIndexView(BaseView):
super(AdminIndexView, self).__init__(name or babel.lazy_gettext('Home'), super(AdminIndexView, self).__init__(name or babel.lazy_gettext('Home'),
category, category,
endpoint or 'admin', endpoint or 'admin',
url or '/admin', '/admin' if url is None else url,
'static', 'static',
menu_class_name=menu_class_name, menu_class_name=menu_class_name,
menu_icon_type=menu_icon_type, menu_icon_type=menu_icon_type,
......
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