FIX: removes missed chat_channels legacy paths (#19634)

- chat-channel-by-name is no longer supported
- chat_channels_controller doesn’t exist anymore
This commit is contained in:
Joffrey JAFFEUX
2022-12-27 20:56:26 +01:00
committed by GitHub
parent 7b53973bd8
commit aad63d92d2
3 changed files with 0 additions and 35 deletions

View File

@ -627,12 +627,6 @@ after_initialize do
# incoming_webhooks_controller routes
post "/hooks/:key/slack" => "incoming_chat_webhooks#create_message_slack_compatible"
# chat_channel_controller routes
get "/chat_channels" => "chat_channels#index"
post "/chat_channels/:chat_channel_id/notification_settings" =>
"chat_channels#notification_settings"
get "/chat_channels/:chat_channel_id" => "chat_channels#show"
# chat_controller routes
get "/" => "chat#respond"
get "/browse" => "chat#respond"