mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Remove deprecated posts/:username/flagged (#21846)
This commit is contained in:
@@ -790,10 +790,6 @@ Discourse::Application.routes.draw do
|
||||
:constraints => {
|
||||
external_id: %r{[^/]+},
|
||||
}
|
||||
get "#{root_path}/:username/flagged-posts" => "users#show",
|
||||
:constraints => {
|
||||
username: RouteFormat.username,
|
||||
}
|
||||
get "#{root_path}/:username/deleted-posts" => "users#show",
|
||||
:constraints => {
|
||||
username: RouteFormat.username,
|
||||
@@ -1003,10 +999,6 @@ Discourse::Application.routes.draw do
|
||||
:constraints => {
|
||||
username: RouteFormat.username,
|
||||
}
|
||||
get "posts/:username/flagged" => "posts#flagged_posts",
|
||||
:constraints => {
|
||||
username: RouteFormat.username,
|
||||
}
|
||||
get "posts/:username/pending" => "posts#pending",
|
||||
:constraints => {
|
||||
username: RouteFormat.username,
|
||||
|
||||
Reference in New Issue
Block a user