Hello, In my welcome controller I have $widget = Request::forge('admin/test/index', true)->execute(); echo $widget;
in folder modules, I have a folder named admin. in admin I have a folder called controllers In controllers I have a file named test.php in test.php I have:
namespace test;
class Controller_test { public function action_index() { die('s'); }
in my config.php I have: 'module_paths' => array( APPPATH.'modules'.DS, // path to application modules APPPATH.'..'.DS.'globalmods'.DS // path to our global modules ),
Error - Class Admin\Controller_Test does not have a constructor, so you cannot pass any constructor arguments in /Library/WebServer/Documents/fuel/fuel/core/classes/request.php on line 401