v0.15 So close, but it doesn't work still...
This commit is contained in:
parent
8069a8882b
commit
8dfae46151
@ -129,7 +129,7 @@ after_initialize do
|
|||||||
# Register custom routes to handle legacy URLs
|
# Register custom routes to handle legacy URLs
|
||||||
Rails.logger.warn "[DEBUG DEBUG DEBUG DEBUG DEBUG WOW WOW WOW]"
|
Rails.logger.warn "[DEBUG DEBUG DEBUG DEBUG DEBUG WOW WOW WOW]"
|
||||||
# Discourse::Application.routes.append do
|
# Discourse::Application.routes.append do
|
||||||
Discourse::Application.routes.append do
|
Discourse::Application.routes.prepend do
|
||||||
get '/test_route' => 'discourse_legacy_links/custom_post#test'
|
get '/test_route' => 'discourse_legacy_links/custom_post#test'
|
||||||
get '/forum/*path' => 'discourse_legacy_links/custom_post#index'
|
get '/forum/*path' => 'discourse_legacy_links/custom_post#index'
|
||||||
get '/forum' => 'discourse_legacy_links/custom_post#index'
|
get '/forum' => 'discourse_legacy_links/custom_post#index'
|
||||||
|
Loading…
Reference in New Issue
Block a user