title: CakePHP html helper link in layout
body: <p>Cant get my head around how to do this. I'm wanting to set a "Edit your account" link in the nav of a layout (layout/default.ctp). I want to give the logged in user access to only edit there details (I'll also handle this in the controller to check its the currently logged in users). But how do I do it in the layout?</p>
  
  <p>I tried this and failed:</p>
  
  <pre><code>&lt;?php echo $this-&gt;Html-&gt;link('Your Account', array('controller' =&gt; 'users', 'action' =&gt; 'edit', $this-&gt;Auth-&gt;users('id')));?&gt;
  </code></pre>