Add media management

This commit is contained in:
2023-05-07 20:47:42 +10:00
parent 067eb3f848
commit 31beb9cbc6
7 changed files with 60 additions and 7 deletions

View File

@@ -74,6 +74,8 @@ module Adamantium
get "/posts", to: "posts.index"
delete "/posts/:id", to: "posts.delete"
post "/posts/:id/archive", to: "posts.archive"
get "/media", to: "photos.index"
end
end
end