Create books via admin

This commit is contained in:
2023-12-22 21:17:02 +11:00
parent 900fdea472
commit bace782b54
5 changed files with 59 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
module Admin
module Repos
class BookRepo < Adamantium::Repo[:posts]
commands update: :by_pk
commands :create, update: :by_pk
def list_all
posts