First pass at webmentions
This commit is contained in:
@@ -216,7 +216,7 @@ module Adamantium
|
||||
def fetch!(slug)
|
||||
posts
|
||||
.published
|
||||
.combine(:tags, :trips)
|
||||
.combine(:tags, :trips, :webmentions)
|
||||
.where(slug: slug)
|
||||
.one!
|
||||
end
|
||||
|
7
app/repos/webmentions_repo.rb
Normal file
7
app/repos/webmentions_repo.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
module Adamantium
|
||||
module Repos
|
||||
class WebmentionsRepo < Adamantium::Repo[:webmentions]
|
||||
commands :create
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user