title: Why doesn't my route codeigniter go to correct action controller?
body: <p>Here my route</p>
  
  <pre><code>$route['posts/(:any)'] = 'posts/get_show/$1';
  $route['posts/(:any)/dosomething'] ='posts/get_dosomething/$1';
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code>public function get_show($id)
  public function get_dosomething($id)
  </code></pre>
  
  <p>With the link <code>posts/1/dosomething</code>, route always points to the action <code>get_show</code>, it never goes to <code>get_dosomething</code></p>
  
  <p>Any idea how to fix it ? Thanks</p>