Hello,
I am trying to develop an application that uses STI for People. So you have customer < person, admin < person. I have also created a login controller with accompanying simple login page (un & pw fields).
Hello,
I am trying to develop an application that uses STI for People. So you have customer < person, admin < person. I have also created a login controller with accompanying simple login page (un & pw fields).
I currently only have customer and admin controllers. Do i need to create a people controller? or can i reference the database from the login controller?
controllers aren't tied to models. Any controller can use any model to
do anything.
Fred
Frederick Cheung wrote: