Im working heavily with modules, but now i want to have a normal controller to be have routing without
module name.
Unfortunately i get a 404 error if i try:
[url=http://portalcms2/]http://portalcms2/[/url]
[url=http://portalcms2/]http://portalcms2/[/url]test
This is my controller:
class Controller_Frontend extends Controller
{
public function action_index()
{
return \Response::forge('something');
}
public function action_404()
{
return $this->response;
}
}
My routes.php
<?php
return array(
'_root_' => 'frontend/index',
'_404_' => 'frontend/404',
'test' => 'frontend/index'
);
someone have an idea where the problem is?
Pushing it doesn't really get you help any faster.
I can't really work with "it doesn't work".
What did you expect to happen? What does happen? What have you tried? Does requesting the website route work (which also calls 'frontend/index')?
No case issues (both the URI and the filesystem is case sensitive in FuelPHP, so http:/sitename/TEST is not the same as [url=http://sitename/test!]http://sitename/test![/url])?