In my rails app I have a controller view, users#show. I’d like to render a different controller view either as an iframe or as a partial within users#show. Let’s say it is pages#somepage (the controller simply returns an html view, no other processing or actions are performed).
Here’s what I tried so far
putting the files in the controller folder didn’t work
using the public folder does work but it exposes the files to unauthenticated users and i want to avoid that