Use new hanami db classes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module Main
|
||||
module Repos
|
||||
class PageRepo < Adamantium::Repo[:pages]
|
||||
class PageRepo < Adamantium::DB::Repo[:pages]
|
||||
def fetch!(slug:)
|
||||
pages
|
||||
.published
|
||||
|
Reference in New Issue
Block a user