Codeigniter Controller return to previous page
<p>I'd like to ask you how can I instead of $this->load->view('some_view.php') at the end of controller code, return user to page from where he invoked controller method? Simple return statement is not working. </p>

<p>ie.</p>

<pre><code>public function someMethod($IDCustomer) {

     $this-&gt;Some_modal-&gt;persist($IDCustomer);   
     // how to return to previous page instead of line after?
     // i've used $this-&gt;load-&gt;view('someView.php');
}
</code></pre>