Is it possible to render another file, such as my show.html.erb, within my main.html.erb file?
"show.html.erb" belongs to a calendar controller. "main.html.erb" belongs to a Pages controller.
I want to do this because:
- I need to access some specific data from within the calendar in the database.
- I don't want my calendar to take up an entire view frame. I want it to be small and be integrated into the main page.
How would I go about doing this? Is it a silly idea?
Aucun commentaire:
Enregistrer un commentaire