ember if else conditionals
<p>I have a conditional statement which contains a link. If something is true, the I'd like it to link to a 'place a' if it is not true I'd like it to link to 'place b'. But I am getting a build error.</p>

<p>I removed the conditional statement, and just have a normal link (link-to) ...so just a link to one place my code builds fine. The build error is just when I try to have 2 links. See below:</p>

<pre><code>        &lt;div class="card text-xs-center"&gt;
          {{if isShowingModal}}
          {{#link-to 'place-a'}}
          {{else}}
            {{#link-to 'place-b'}}
          {{/if}}
              &lt;div class="card-block"&gt;
                  &lt;i class="fa fa-cogs" aria-hidden="true"&gt;&lt;/i&gt;
              &lt;/div&gt;
              &lt;div class="card-block"&gt;
                  &lt;h4 class="card-title"&gt;The Place&lt;/h4&gt;
              &lt;/div&gt;
          {{/link-to}}

        &lt;/div&gt;
</code></pre>

<p>The error says: Error: link-to doesn't match if - 8:19</p>

<p>application.js</p>

<pre><code>export default Ember.Controller.extend({
    isShowingModal: false,
    actions: {

        showNavMenu: function() {
          this.toggleProperty('isShowingModal');
        }
    }
});
</code></pre>