aria-labelledby="toc_testing-controller-actions">
<p>Here we have a controller <code>PostsController</code> with two properties, a method that
sets one of those properties, and an action named <code>setProps</code>.</p>
<blockquote>
  <p>You can follow along by generating your own controller with <code>ember generate
controller posts</code>.</p>
</blockquote>
<div class="filename javascript"><div class="ribbon"></div><span>app/controllers/posts.js</span><pre class="language-javascript line-numbers"><code cl