Hello Rails community
Is there a Rails equivalent to the J2EE
the getRequestDispatch().include(...), or,
say, the PHP @readfile(...) ?
In particular, what I would like to do is first authenticate
for permission, and if permitted, serve static content.
The J2EE forward and include mechanisms allow content
to be served without the service URL showing up in the
URL bar in the client browser. This means that the original
request can contain necessary static content location
information, but after permission is ascertained, the full
path to the content is assembled and passed only internally
within the server.