Manage books page via admin area

This commit is contained in:
2023-12-22 20:37:12 +11:00
parent 6a3409746e
commit 900fdea472
8 changed files with 87 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# frozen_string_literal: true
module Admin
module Views
module Books
class Index < Admin::View
include Deps["repos.book_repo"]
expose :books do
book_repo.list_all
end
end
end
end
end

View File

@@ -0,0 +1,10 @@
# frozen_string_literal: true
module Admin
module Views
module Books
class Update < Admin::View
end
end
end
end