Here my route
$route['posts/(:any)'] = 'posts/get_show/$1';
$route['posts/(:any)/dosomething'] ='posts/get_dosomething/$1';
Controller
public function get_show($id)
public function get_dosomething($id)
With the link posts/1/dosomething
, route always points to the action get_show
, it never goes to get_dosomething
Any idea how to fix it ? Thanks