In the same pot you boiled the pasta in, melt the butter over medium heat. Add the garlic and cook for 2 minutes. Add in the pasta, season well and toss through.
Pour the pesto over the top and mix through the pasta. Remove from the heat.
Add the spinach leaves, toasted pine nuts and parmesan on top.