Vérifiez les rails de route actuels
current_uri = request.env['PATH_INFO']
BashForger
current_uri = request.env['PATH_INFO']