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.
This commit is contained in:
Blake Erickson 2023-06-21 12:45:28 -06:00 committed by GitHub
parent 30ce8df7c8
commit 1948063f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"