Use new hanami db classes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module Main
|
||||
module Repos
|
||||
class PodcastRepo < Adamantium::Repo[:podcasts]
|
||||
class PodcastRepo < Adamantium::DB::Repo[:podcasts]
|
||||
def listing
|
||||
podcasts.order(:name).to_a
|
||||
end
|
||||
|
Reference in New Issue
Block a user