Routes in an Advanced Module
Simple question that I'm scratching my head over. I have a Store advanced module which contains a Helmets model. The helmets model is accessible currently in Fuel at /fuel/helmets. I want it to be accessible at /fuel/store/helmets. Here is my route configuration in store_routes.php, why isn't this working?
$route[FUEL_ROUTE . 'store/helmets/(.*)'] = FUEL_ROUTE . 'helmets/$1';
Erik
Comments
$route[FUEL_ROUTE . 'store/helmets/(.*)'] = STORE_FOLDER . 'helmets/$1';
Assuming you've followed the config/constants.php convention from the other modules.