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. 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It works inside any Controller, View or Model. To refer your model use upper cased class name. For example: Book