Say I have a model called Book. I have a controller named books and related views for this model. Is it possible if I have another controller work with the model Book?
Thanks all. :)
Say I have a model called Book. I have a controller named books and related views for this model. Is it possible if I have another controller work with the model Book?
Thanks all. :)
It works inside any Controller, View or Model. To refer your model use upper cased class name. For example: Book