title: CakePHP - Changing default Flash layout
body: <p>I know that I can replace the flash markup by creating something like <code>custom_flash.ctp</code> in Elements folder and call it like: </p>
  
  <pre><code>$this-&gt;Session-&gt;setFlash('Hello', custom_flash)
  </code></pre>
  
  <p>But how can I use custom layout when not adding the second parameter? </p>
  
  <pre><code>$this-&gt;Session-&gt;setFlash('Hello')
  </code></pre>
  
  <p>I thought I can replace the default by having a file named <code>default.ctp</code> inside Elements folder. But I can't.</p>
  
  <p>I want to keep the code as short as possible. That's why I'm looking a way to do this</p>
  
  <p>Any solution? Thanks</p>