FIX: Routing back to homepage from admin sidebar (#29125)

This commit is contained in:
Penar Musaraj
2024-10-08 10:05:08 -04:00
committed by GitHub
parent 315f8c5ec6
commit 520f71b8f8
3 changed files with 18 additions and 17 deletions

View File

@@ -1607,6 +1607,8 @@ Discourse::Application.routes.draw do
constraints: HomePageConstraint.new("custom"),
as: "custom_index"
get "/custom" => "custom_homepage#index"
get "/user-api-key/new" => "user_api_keys#new"
post "/user-api-key" => "user_api_keys#create"
post "/user-api-key/revoke" => "user_api_keys#revoke"