Yeah the ER is connected to the nucleus, so that mRNA can come to the ribosomes and be translated. The golgi is the trafficker that tells stuff where to go and is located outside the ER.
Nucleus -> rER -> sER -> Golgi -> membrane -> outside cell
Movement of material is seen (basically) in the order above, although the golgi can send things both forwards and backwards if extra processing is needed