First, fry ham in the pan till a bit golden brown.
Then spread ham on puff pastry (I used roti paste). Add 1 or 2 tsp mayonnaise, chopped onion and cheese.
Roll it up.
Brush the surface with egg mixture.
Preheat oven to 180 degree C and bake for 25 mins.