I haven’t been able to find the way to do this (apparently) simple task:
I have a controller that renders “template1” when called the first time
and “template2” when called the second time. I want these templates to
be opened as pop-up windows in the client’s browser, so he can browse
their contents simultaneously.
Hm, can you not modify the link to include target="_blank" for the
second case?
MMMM I’m rendering with redirect_to :action => template(1…5). There I
don’t have that option, but you gave me an idea. Perhaps I could do a
redirection in a template and there put the target = “_blank”. I’ll give
it a try.