0.46 More rewrite based on recent success with blocker.

This commit is contained in:
David Sainty 2024-09-09 12:01:00 +10:00
parent 5a750b947a
commit 66ff59a915

View File

@ -4,7 +4,7 @@
# name: discourse-legacy_links
# about: A plugin to handle legacy Gossamer Forums URLs
# version: 0.46
# version: 0.47
# authors: saint@federated.computer
# url: https://gitea.federated.computer/saint/discourse-legacy_links.git
@ -101,8 +101,8 @@ after_initialize do
# Rails.logger.info("DiscourseLegacyLinks: initialistaion")
DiscourseLegacyLinks::Engine.routes.draw do
get "/legacy" => "legacy_links#index"
get "/legacy/*path" => "legacy_links#index"
get "/forum" => "legacy_links#index"
get "/forum/*path" => "legacy_links#index"
end
Discourse::Application.routes.append do