title: CakePHP Error: The requested address was not found on this server
body: <p>I have an action which gets the <code>id</code> from user and deletes the item related to; Requests are like this:</p>
  
  <p>/managers/delete_item/5
  But this occurs error: </p>
  
  <blockquote>
    <p>Error: The requested address /managers/delete_item/5 was not found on this server</p>
  </blockquote>
  
  <p>This is the <code>delete_item</code> in controller:</p>
  
  <pre><code>function delete_item($id = null)
  {
      $this-&gt;item-&gt;id = $id;
      $this-&gt;item-&gt;status = 0;
      if ($this-&gt;data) {
          if ($this-&gt;item-&gt;save($this-&gt;data)) {
              $this-&gt;Session-&gt;setFlash('Removed', 'default', array('class' =&gt; 'success-msg'));
              $this-&gt;redirect(array('controller' =&gt; 'managers', 'action' =&gt; 'discount'));
          } else {
              $this-&gt;Session-&gt;setFlash('ERR', 'default', array('class' =&gt; 'error-msg'));
          }
      } else {
          $this-&gt;data = $this-&gt;item-&gt;read();
      }
  }
  </code></pre>
  
  <p>However i have some similar actions in my controller which doing such thing Deleting, Editing... and not occurs the error.</p>
  
  <p>Please help.</p>