Originally Posted by
joshnesbit
when I flew from Luton to Edinburgh we were sent into departures upon exiting the plane
That's because LTN and EDI are both inside the UK.
EDI does not allow international transit. Everyone who is in the departures area of EDI is inside the UK. If you arrived from outside the CTA you will have to go through immigration even when connecting.