Verifique os trilhos da rota atuais
current_uri = request.env['PATH_INFO']
BashForger
current_uri = request.env['PATH_INFO']