Closed nruth closed 7 years ago
Hi, sorry for the late reply on this.
Is there a specific reason why you can't use the model passed in to the titleToken
method for this? It's very possible I just don't understand your use case, but please let me know.
Thanks for taking the time to add this 👍
I'm going to close this because I haven't heard back and without an answer I can't really tell if this is necessary or not. Please let me know if anything changes! ❤️
as it's not straightforward accessing the loaded model from inside the route.
I took this approach because the title function is given the tokens, not the model, as its argument.
If this isn't a good way to do it it'd be great to get another suggestion into the readme. Our particular use-case is that our API sets the expected page-title for some of our models.