[eluser]ruiganga[/eluser]
Hi
This is my first CI project so please forgive my dumbness.
After viewing 3 full tutorials, I've designed my app like this:
Main Controller
- index function show app home
- login function show form
- logout function kills session and redirect to app root
Looks simple. I can do it if Login and Logout are Controllers, but instead, I wish them to be functions of Main controller.
site.com -> execute Main Controller index function
I expect to
site.com/login -> execute Main Controller login function
Any way to do this?
thanks for any help