Compare commits
No commits in common. "89e0b0a0812de28082c24fa14a4bf721a691f2b1" and "8069a8882bf14823c53cef604ca10c21e75d6254" have entirely different histories.
89e0b0a081
...
8069a8882b
@ -4,7 +4,7 @@
|
||||
|
||||
# name: discourse-legacy_links
|
||||
# about: A plugin to handle legacy Gossamer Forums URLs
|
||||
# version: 0.15
|
||||
# version: 0.14
|
||||
# authors: saint@federated.computer
|
||||
# url: https://gitea.federated.computer/saint/discourse-legacy_links.git
|
||||
|
||||
@ -129,7 +129,7 @@ after_initialize do
|
||||
# Register custom routes to handle legacy URLs
|
||||
Rails.logger.warn "[DEBUG DEBUG DEBUG DEBUG DEBUG WOW WOW WOW]"
|
||||
# Discourse::Application.routes.append do
|
||||
Discourse::Application.routes.prepend do
|
||||
Discourse::Application.routes.append do
|
||||
get '/test_route' => 'discourse_legacy_links/custom_post#test'
|
||||
get '/forum/*path' => 'discourse_legacy_links/custom_post#index'
|
||||
get '/forum' => 'discourse_legacy_links/custom_post#index'
|
||||
|
Loading…
Reference in New Issue
Block a user