mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
HACK: Redirect /tags/:tag_id to /tag/:tag_id (#11145)
This commit is contained in:
parent
ec4c2a58ea
commit
0c2956dd2e
@ -921,6 +921,8 @@ Discourse::Application.routes.draw do
|
||||
|
||||
get '/intersection/:tag_id/*additional_tag_ids' => 'tags#show', as: 'tag_intersection'
|
||||
end
|
||||
|
||||
get '*tag_id', to: redirect(relative_url_root + 'tag/%{tag_id}')
|
||||
end
|
||||
|
||||
resources :tag_groups, constraints: StaffConstraint.new, except: [:edit] do
|
||||
|
Loading…
Reference in New Issue
Block a user