mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +08:00
FIX: Incorrect path for redirect.
This commit is contained in:
@ -14,7 +14,7 @@ class SafeModeController < ApplicationController
|
||||
if safe_mode.length > 0
|
||||
redirect_to path("/?safe_mode=#{safe_mode.join("%2C")}")
|
||||
else
|
||||
redirect_to :index
|
||||
redirect_to safe_mode_path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user