Преглед на файлове

HUE-6693 [home] Open up the page properly when using Hue 3

Romain Rigaux преди 8 години
родител
ревизия
beceab6f2e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      desktop/core/src/desktop/views.py

+ 1 - 1
desktop/core/src/desktop/views.py

@@ -336,7 +336,7 @@ def index(request):
     if is_hue_4:
       return redirect('desktop.views.hue')
     elif USE_NEW_EDITOR.get():
-      return home2(request)
+      return redirect('desktop.views.home2')
     else:
       return home(request)