DEV: Remove legacy tag and category routes (#10338)

* DEV: Remove client-side legacy tag and category routes

* DEV: Remove server-side legacy tag routes

* DEV: Refactor ListController#set_category

* FIX: Remove reference to discovery.parentCategory

* FIX: Refactor TagsController#set_category_from_params

* FIX: Build correct canonical URL for tags and categories

* DEV: Fix deprecation notice in Ruby 2.7

* DEV: Replace use of removed legacy tag route

* DEV: Add deprecation notices for old routes and controllers
This commit is contained in:
Dan Ungureanu
2020-11-03 16:57:58 +02:00
committed by GitHub
parent 5140ec9acf
commit 3c51647872
15 changed files with 79 additions and 156 deletions

View File

@ -235,7 +235,7 @@ describe 'tags' do
end
end
path '/tags/{name}.json' do
path '/tag/{name}.json' do
get 'Get a specific tag' do
tags 'Tags'