Browse Source

feat: Redirect old add view to the main one

Cristian 5 years ago
parent
commit
b2ed96c35a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      archivebox/core/urls.py

+ 2 - 0
archivebox/core/urls.py

@@ -18,6 +18,8 @@ urlpatterns = [
 
     path('archive/', RedirectView.as_view(url='/')),
     path('archive/<path:path>', LinkDetails.as_view(), name='LinkAssets'),
+
+    path('admin/core/snapshot/add/', RedirectView.as_view(url='/add/')),
     path('add/', AddView.as_view()),
     
     path('accounts/login/', RedirectView.as_view(url='/admin/login/')),