changed url to <%= request.original_url %>