Standard
This commit is contained in:
@@ -4,7 +4,6 @@ module Admin
|
||||
module Actions
|
||||
module Books
|
||||
class Create < Admin::Action
|
||||
|
||||
include Deps["repos.book_repo"]
|
||||
|
||||
def handle(req, resp)
|
||||
|
@@ -4,7 +4,6 @@ module Admin
|
||||
module Actions
|
||||
module Books
|
||||
class Update < Admin::Action
|
||||
|
||||
include Deps["repos.book_repo"]
|
||||
|
||||
def handle(req, resp)
|
||||
|
@@ -4,9 +4,8 @@ module Admin
|
||||
module Views
|
||||
module Books
|
||||
class Index < Admin::View
|
||||
|
||||
include Deps["repos.book_repo"]
|
||||
|
||||
|
||||
expose :books do
|
||||
book_repo.list_all
|
||||
end
|
||||
|
Reference in New Issue
Block a user