mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
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:
parent
30ce8df7c8
commit
1948063f9f
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user