mirror of
https://github.com/discourse/discourse.git
synced 2025-03-31 10:16:42 +08:00
TRIVIAL: remove puts statement (cc. @eviltrout)
This commit is contained in:
parent
02e8e17a95
commit
64b8f2f759
@ -81,7 +81,6 @@ class UsersController < ApplicationController
|
||||
end
|
||||
|
||||
def my_redirect
|
||||
puts params[:path]
|
||||
if current_user.present? && params[:path] =~ /^[a-z\-]+$/
|
||||
redirect_to "/users/#{current_user.username}/#{params[:path]}"
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user