Archive bookmarks

This commit is contained in:
2023-05-07 11:42:08 +10:00
parent 3fddc1757e
commit 2de61827a6
4 changed files with 22 additions and 0 deletions

View File

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