Either way is good. I used to pour the wort from the kettle into my fermenter leaving only the thickest trub. If it was not too thick I would just pour it all in.
I now have a kettle with a valve and use a paint strainer bag to keep the hops contained and drain almost all of the wort into the fermenter.
If you get trub etc into the fermenter it will settle and compact after the active fermentation has subsided.