title: Wanted to call action of the linking controller in ember js?
body: <pre><code>{{#link-to &quot;login&quot;}}&lt;span {{action 'loginfunc'}}&gt;Login&lt;/span&gt;{{/link-to}}   
  </code></pre>
  <p>the above code  is in my ember signup template , i have linked to login template.
  I wanted to call my 'loginfunc' in my login controller, but the complier is checking 'loginfunc' inside the sign up controller, can you please tell me why, i'm a beginner.  someone guide me with this.</p>