This evening while taking a train home from work. A JC girl and
a quite good looking one, was sitting beside me and then fell
asleep and her head fell on my shoulder. She rested her head on my
shoulder and it felt kinda of good (especially since I'm currently
single), but it made me blushed. 
After like 6 or 7 mins, I tapped on her shoulder. She woke up and I
told her that she had been resting my resting shoulder, then she
blushed and walked out of the train quickly at the next stop. Did I
do the right thing by telling her or should I have kept quiet?

[EDITED for grammatical
errors]