title: CakePHP: using models in different controllers
body: <p>I have a controller/model for projects. so this controls the projects model, etc, etc. I have a homepage which is being controlled by the pages_controller. I want to show a list of projects on the homepage. Is it as easy as doing:</p>
  
  <pre><code>function index() {
      $this-&gt;set('projects', $this-&gt;Project-&gt;find('all'));        
  }
  </code></pre>
  
  <p>I'm guessing not as I'm getting:</p>
  
  <pre><code>Undefined property: PagesController::$Project
  </code></pre>
  
  <p>Can someone steer me in the right direction please,</p>
  
  <p>Jonesy</p>