tape: correctly sort media api entries

This commit is contained in:
Dietmar Maurer 2020-12-29 12:09:51 +01:00
parent c431659d05
commit 250c29edd2

View File

@ -317,6 +317,11 @@ pub fn list_content(
}
const SUBDIRS: SubdirMap = &[
(
"content",
&Router::new()
.get(&API_METHOD_LIST_CONTENT)
),
(
"destroy",
&Router::new()
@ -327,11 +332,6 @@ const SUBDIRS: SubdirMap = &[
&Router::new()
.get(&API_METHOD_LIST_MEDIA)
),
(
"content",
&Router::new()
.get(&API_METHOD_LIST_CONTENT)
),
];