I’m trying to print a report as a pdf, which uses the render method.
This works fine. The problem comes at the end when I try to redirect
to the index page, which causes the double render. I’m sure there’s a
way around this, but I’m coming up blank. If I remember right, there
was a method that acted almost like redirect_to, but wouldn’t cause
the error. Please help…