add missing break statements

This commit is contained in:
Luke Towers 2020-04-04 21:41:24 -06:00
parent c2544d40b4
commit ed2d63dd0e
1 changed files with 2 additions and 0 deletions

View File

@ -1500,11 +1500,13 @@ class RelationController extends ControllerBehavior
case 'morphedByMany':
case 'belongsToMany':
$buttons = ['create', 'add', 'delete', 'remove'];
break;
case 'hasOne':
case 'morphOne':
case 'belongsTo':
$buttons = ['create', 'update', 'link', 'delete', 'unlink'];
break;
}
}
}