Re-publish bookmarks

This commit is contained in:
2023-07-20 21:49:02 +10:00
parent 0c49010f0d
commit e6936755da
5 changed files with 26 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
module Admin
module Actions
module Bookmarks
class Publish < Action
include Deps["repos.bookmark_repo"]
def handle(req, res)
bookmark_id = req.params[:id]
bookmark_repo.publish(id: bookmark_id)
end
end
end
end
end