Is it possible that your boss try to discuss about the issue in a non-work place because the topic is sensitive? It is also possible that he felt you were indeed treated unfairly by your co-worker, and he wants to show a nice gesture to make it up to you.