Merge "Fix Django route for swift ui with folder path"

This commit is contained in:
Jenkins 2016-07-14 09:03:48 +00:00 committed by Gerrit Code Review
commit f78332220d

View File

@ -25,7 +25,7 @@ if settings.HORIZON_CONFIG['swift_panel'] == 'angular':
# New angular containers and objects
urlpatterns = [
url(r'^container/((?P<container_name>.+?)/)?'
'(?P<subfolder_path>(.+/)+)?$',
'(?P<subfolder_path>.+)?$',
views.NgIndexView.as_view(), name='index'),
url(r'^$',
views.NgIndexView.as_view(), name='index')