Clean up main app repos

This commit is contained in:
2023-11-18 08:38:29 +11:00
parent cfbab5ab4b
commit e1a230bdba
7 changed files with 14 additions and 25 deletions

View File

@@ -1,15 +1,9 @@
module Adamantium
module Repos
class PodcastRepo < Adamantium::Repo[:podcasts]
commands :create
def listing
podcasts.order(:name).to_a
end
def delete_all
podcasts.delete
end
end
end
end