Files
adamantium/slices/main/repos/podcast_repo.rb

10 lines
164 B
Ruby

module Main
module Repos
class PodcastRepo < Adamantium::DB::Repo[:podcasts]
def listing
podcasts.order(:name).to_a
end
end
end
end