Place the red onions in a pan add the vinegar, sugar and ½ the butter cook out until reduced and sticky then add the thyme and remove from the heat and cool down
Fry mushrooms in the butter until golden
Mix the mushroom and red onion mix together and leave to infuse best overnight
Cut the puff pastry to your moulds fill mould with mushroom mix and top with the pastry, prick the pastry and then bake at 170oc for 20 minutes
Once cooked remove from the oven leave to set for 2 to 3 minutes and then turn