City recreation director resigns