mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 13:21:01 +08:00
FEATURE: add clean support for running Discourse in a subfolder
To setup set DISCOURSE_RELATIVE_URL_ROOT to the folder you wish
This commit is contained in:
@ -17,7 +17,7 @@ class ForumsController < ApplicationController
|
||||
end
|
||||
|
||||
def home_redirect
|
||||
redirect_to '/'
|
||||
redirect_to path('/')
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user