Files
adamantium/slices/admin/repos/highlight_repo.rb
2024-04-05 21:35:39 +11:00

13 lines
206 B
Ruby

module Admin
module Repos
class HighlightRepo < Adamantium::Repo[:highlights]
commands :create, delete: :by_pk
def list_all
highlights
.to_a
end
end
end
end