Currently I have something like this
$route['ourworks/client'] = "ourworks/ourwork_item/client";
$route['ourworks/portfolio'] = "ourworks/ourwork_item/portfolio";
$route['ourworks/casestudy'] = "ourworks/ourwork_item/casestudy";
Is there anyway that I could make these 3 lines a a dynamic line?
Thank you
Should work: