Syndicate to Day One from Admin pages
This commit is contained in:
13
slices/admin/views/posts/show.rb
Normal file
13
slices/admin/views/posts/show.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
module Admin
|
||||
module Views
|
||||
module Posts
|
||||
class Show < Admin::View
|
||||
include Deps["repos.post_repo"]
|
||||
|
||||
expose :post do |id:|
|
||||
post_repo.find(id: id)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user