ember-cli-document-title icon indicating copy to clipboard operation
ember-cli-document-title copied to clipboard

Also pass tokens to setTitle

Open vihai opened this issue 8 years ago • 0 comments

Hello,

It could be quite useful to have access to the whole list of token in the router's setTitle method in order to make them accessible to a template, in order to output a structured breadcrumb.

      // Stubbable fn that sets document.title
-      this.router.setTitle(finalTitle);
+      this.router.setTitle(finalTitle, tokens);

vihai avatar Nov 21 '17 16:11 vihai