Allow adding of syndication sources after a post is created

This commit is contained in:
2023-09-24 10:06:34 +10:00
parent 8b280afc75
commit 9be6389904
4 changed files with 57 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ module Admin
post "/posts/:id/archive", to: Auth.call(action: "posts.archive")
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/syndicate/:target", to: Auth.call(action: "posts.syndicate")
post "/post/:id/update", to: Auth.call(action: "posts.update")