How do you target ember-cli-mirage from a regular AJAX request using ember-concurrency?

Nailed it! Added this.get(“terms/:id”); back. Search works and can navigate to individual terms. Man, I owe you BIG TIME!! Thank you!!

1 Like

What’s the right way to {{#link-to}} here? The most basic implementation seems like it would be:

      {{#each searchRepo.lastSuccessful.value as |term|}}
        {{#link-to "term.term" primaryTerm}}{{term.term}}{{/link-to}}<br>
      {{/each}}

But that and everything else I try throws:

WARNING: This link-to is in an inactive loading state because at least one of its parameters presently has a null/undefined value, or the provided route name is invalid.

I’d think it would be something like:

  {{#each searchRepo.lastSuccessful.value as |term|}}
    {{#link-to "term” term.id}}{{term.term}}{{/link-to}}<br>
  {{/each}}
1 Like

Got it!

{{#link-to "terms" term.id}}{{term.term}}{{/link-to}}<br>
1 Like