Is there any way we can list multiple models in one index page?
Like I have 4 models:users, agencies, authorizedpersons and mentors that I would want to list them in one index page.
Is there a specific process that I could follow?
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.
You can just to query for all of these in that controller’s index action:
And reference them in your views as normal: