From 0f813fc7c711a2b5cd9e514f48a63688a7319a25 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 3 Jul 2019 23:48:32 +0100 Subject: [PATCH] DEV: Remove reference to non-existent `letter_proxy` route This was introduced in f04471e4229218903df17232db955cd583a423ef, but never actually used --- app/controllers/user_avatars_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/user_avatars_controller.rb b/app/controllers/user_avatars_controller.rb index cac63e64e58..11f4f25cf5e 100644 --- a/app/controllers/user_avatars_controller.rb +++ b/app/controllers/user_avatars_controller.rb @@ -37,7 +37,7 @@ class UserAvatarsController < ApplicationController def show_proxy_letter is_asset_path - if SiteSetting.external_system_avatars_url !~ /^\/letter(_avatar)?_proxy/ + if SiteSetting.external_system_avatars_url !~ /^\/letter_avatar_proxy/ raise Discourse::NotFound end