Allow editing of posts

This commit is contained in:
2023-09-16 13:25:56 +10:00
parent 3f6e333423
commit 9dc78255cf
5 changed files with 44 additions and 4 deletions

View File

@@ -36,6 +36,7 @@ module Admin
post "/posts/:id/publish", to: Auth.call(action: "posts.publish")
get "/posts/:id", to: Auth.call(action: "posts.show")
post "/posts/:id/syndicate/:target", to: Auth.call(action: "posts.syndicate")
post "/post/:id/update", to: Auth.call(action: "posts.update")
get "/media", to: Auth.call(action: "photos.index")
delete "/media/public/media/:year/:path", to: Auth.call(action: "photos.delete")