I have created a new property in the settings object in route set-up that contains a bool. When I change views I want to set a property in shell to the router.currentRoute().(my property) but currentRoute of course doesn't exist.
I have looked at activeItem, but that seems a hackish way to have to do it. Is there another way to look at the current route that is active to access it's properties? I have been going through Durandal 2.0 and cannot find a solution as of yet.
(Basically I want to set an observable equal to an observable property in Durandal that shows whether I should display a div or not)