TRIVIAL: remove puts statement (cc. @eviltrout)

This commit is contained in:
Régis Hanol 2014-04-21 23:00:13 +02:00
parent 02e8e17a95
commit 64b8f2f759

View file

@ -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