De-syndicate posts

This commit is contained in:
2024-01-30 20:29:51 +11:00
parent 4833ae01c1
commit 6569060ba0
6 changed files with 78 additions and 0 deletions

View File

@@ -49,6 +49,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/add_source", to: Auth.call(action: "posts.add_syndication_source")
post "/posts/:id/de_syndicate/:target", to: Auth.call(action: "posts.de_syndicate")
post "/posts/:id/syndicate/:target", to: Auth.call(action: "posts.syndicate")
post "/post/:id/update", to: Auth.call(action: "posts.update")