Allow media deletion

This commit is contained in:
2023-06-24 13:52:46 +10:00
parent 79d5c3c5cf
commit e266ed52ad
4 changed files with 32 additions and 3 deletions

View File

@@ -91,6 +91,7 @@ module Adamantium
post "/posts/:id/syndicate/:target", to: "posts.syndicate"
get "/media", to: "photos.index"
delete "/media/public/media/:year/:path", to: "photos.delete"
get "/trips", to: "trips.index"
get "/trips/:id", to: "trips.show"