From 9d8deddb0a9df7d4d7d4b649ddf01b15570719e0 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 7 Dec 2024 18:58:50 -0500 Subject: Moved webmentions to a single endpoint --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index 21e1517..76378c4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -51,7 +51,6 @@ Rails.application.routes.draw do member do post 'upvote' post 'downvote' - post 'webmention' resources :comments, only: [:create] end @@ -82,4 +81,6 @@ Rails.application.routes.draw do post 'downvote' end end + + resources :webmentions, only: [:create] end -- cgit 1.4.1