Files
adamantium/config/providers/param_parser.rb

9 lines
240 B
Ruby

# frozen_string_literal: true
Hanami.app.register_provider :param_parser, namespace: true do
start do
register "micropub_post", Micropub::RequestParser.new
register "webmention", Adamantium::WebmentionRequestParser.new
end
end