Files
adamantium/slices/admin/repos/highlight_repo.rb

13 lines
210 B
Ruby

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