From 1948063f9f60711d924cc1981cdbfe384b026feb Mon Sep 17 00:00:00 2001 From: Blake Erickson Date: Wed, 21 Jun 2023 12:45:28 -0600 Subject: [PATCH] DEV: Cleanup unused chat route (#22231) The `chat/chat#update_user_last_read` route no longer has corresponding controller action so we should remove it. --- plugins/chat/config/routes.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/chat/config/routes.rb b/plugins/chat/config/routes.rb index c2bff0c927d..eb3965132c3 100644 --- a/plugins/chat/config/routes.rb +++ b/plugins/chat/config/routes.rb @@ -72,7 +72,6 @@ Chat::Engine.routes.draw do put "/:chat_channel_id/:message_id/rebake" => "chat#rebake" post "/:chat_channel_id/:message_id/flag" => "chat#flag" post "/:chat_channel_id/quote" => "chat#quote_messages" - put "/:chat_channel_id/read/:message_id" => "chat#update_user_last_read" put "/user_chat_enabled/:user_id" => "chat#set_user_chat_status" put "/:chat_channel_id/invite" => "chat#invite_users" post "/drafts" => "chat#set_draft"