Dynamic breadcrumbs

I’m developing an app to store and display multiple companies info such as employees and stores. I would like to display breadcrumbs such as the following:

Viewing Bob Smith’s data:

Companies >> Company A >> Nowhere >> Smith, Bob

Viewing Jane Doe’s data:

Companies >> Company B >> Somewhere >> Doe, Jane

Any ideas on how to do this without having to pass data everywhere?

Thanks

You could put a method on the Employee that will build their trail so that you’re only pulling it from the model, not passing it all around.