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

@@ -3,6 +3,8 @@ require "time_math"
module Admin
module Repos
class PostRepo < Adamantium::Repo[:posts]
commands update: :by_pk
def tag_post(post_id:, tag_id:)
return if posts
.post_tags