[eluser]Perkin5[/eluser]
I am developing a blog and I have a controller called blogin associated with a form view.
At the moment, a successful login calls a method
admin in another controller called
blogadmin. The code is:
Code:
redirect('blogadmin/admin');
and that works fine. However, it's possible to reach that method by entering the address as a url and I want to prevent that. So I rename the
admin method as
_admin as I understand that this makes it a private method and not available via url.
I then change my code to:
Code:
redirect('blogadmin/_admin');
and I get a 404. Why doesn't it work?