jedt/spark_plug — Issue #51: Router Prefix
Author: strykstaguy
Created: 2011-12-16 15:45:16+00:00
State: open

I get an error when I try to use prefix routing as it says the users controller could not be found, in my project i have Configure::write('Routing.prefixes', array('admin')); in my core.php.

I adding this to the sparkplug routes:
Router::connect(‘/admin/users/:action/*’, array(‘plugin’ => ’spark_plug’, ‘controller’ => ‘users’));

it did not work.