Add management of webmentions
This commit is contained in:
13
slices/admin/repos/webmention_repo.rb
Normal file
13
slices/admin/repos/webmention_repo.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
module Admin
|
||||
module Repos
|
||||
class WebmentionRepo < Adamantium::Repo[:webmentions]
|
||||
commands update: :by_pk
|
||||
|
||||
def list_all
|
||||
webmentions
|
||||
.order(:id)
|
||||
.to_a
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user