Added explicit endpoints

This commit is contained in:
Joel Collins 2020-05-10 16:35:16 +01:00
parent 93d29fbc8d
commit 28e555ad9b
5 changed files with 14 additions and 14 deletions

View file

@ -266,9 +266,9 @@ def dynamic_form():
}
autostorage_extension_v2.add_view(GetLocationsView, "list-locations")
autostorage_extension_v2.add_view(PreferredLocationView, "location")
autostorage_extension_v2.add_view(PreferredLocationGUIView, "location-from-title")
autostorage_extension_v2.add_view(GetLocationsView, "/list-locations")
autostorage_extension_v2.add_view(PreferredLocationView, "/location")
autostorage_extension_v2.add_view(PreferredLocationGUIView, "/location-from-title")
autostorage_extension_v2.add_meta(
"gui", build_gui(dynamic_form, autostorage_extension_v2)
)