Spread the dough in the buttered baking tray and prick it with a fork.
Spread the onions, which have been steamed in butter, evenly on the bottom of the cake together with the grated cheese.
Prepare a glaze with milk, flour, eggs, cream and spices and pour it over the cheese.
Bake in the oven at 200 degrees Celsius for about half an hour.