title: Codeigniter: '_remap' second parameter (should be url segment) is returning empty?
body: <p>I have a problem. I have overriden CI’s default call to method by using a ‘_remap’ function. It all works as I should when I pass one parameter, which is of course the overriden method, (the second segment of the uri). However, following the user guide’s instructions, when I try to retrieve additional segments of the url via the method below, the $params array is empty? I’ve used a var dump on the $a variable on my main_view, and it always shows the array is empty, even when the 3rd segment of the uri is present.</p>
  
  <p>The CI user guide states ‘Any extra segments after the method name are passed into _remap() as an optional second parameter.’ (http://codeigniter.com/user_guide/general/controllers.html) But this doesn’t appear to be so. Does anyone know what I might be doing wrong?</p>
  
  <pre><code>class Services extends Controller {
   var $group = 'services';
  function Services()
  {
      parent::Controller();
      $this-&gt;load-&gt;helper('url');
  }
  
  public function _remap($subPage, $params = array()){
  
      $pageData = $this-&gt;page_builder-&gt;buildPage($this-&gt;group,$subPage);
      if($subPage != 'index'){ $pageData['thisPage'] = $this-&gt;group .'/' . $subPage; }
      else{ $pageData['thisPage'] = $this-&gt;group; }
      $pageData['a'] = $params;
      $this-&gt;load-&gt;view('main_view', $pageData);
  }
  </code></pre>
  
  <p>}  </p>
  
  <p>Thanks.</p>