DEV: Remove renderTemplate from 2fa preferences, email preferences, and new-category (#22156)

This commit is contained in:
Jarek Radosz
2023-06-16 16:50:45 +02:00
committed by GitHub
parent 37030ed348
commit 9984accfa5
7 changed files with 31 additions and 41 deletions

View File

@@ -686,10 +686,6 @@ Discourse::Application.routes.draw do
:constraints => {
username: RouteFormat.username,
}
get "#{root_path}/:username/preferences/second-factor-backup" => "users#preferences",
:constraints => {
username: RouteFormat.username,
}
delete "#{root_path}/:username/preferences/user_image" => "users#destroy_user_image",
:constraints => {
username: RouteFormat.username,