I just installed the application advanced template, For the backend controller I want to rename the SiteController to AdminController. I tried to change the name and the name of the view folder to admin but the index page shows as not found. when you access domain/admin/
What else do I need to modify for the controller to function correctly? If I login using the login link I can. The trouble seems to be coming in the the backend as a guest. I’s still trying for site/login.
I am still getting a error 404 for Route requested: ‘site/login’
The Below seems to do the trick.
'components'=>array(
'user'=>array(
'loginUrl'=>array('admin/login'),
'allowAutoLogin'=>true,
),
Did I miss anything?