Displaying 1 result from an estimated 1 matches for "include_pag".
Did you mean:
include_page
2006 Feb 21
5
how to include an html file?
I have a bunch of html files with partial page content. I''d like to be
able to include the content of these files in my RoR views without
having to change or rename them.
In PHP I''d simply use
include("file.html");
What is the RoR equivalent of this? render_file insists on it being an
rhtml template, and render_partial requires me to rename the file.
Ideally, I