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 could put the files in a separate dir, e.g. in /public/html/
Tia!