You could have PrivateImagesController with `show` method
and you will get your images through /private_images/image_name.png
in `show` method
(check permissions)
send_file "#{RAILS_ROOT}/private_images_folder/#{params[:image_name]}"
send_file is really slow and will work only when the
I'm trying to display an image (chart) that lives outside the public
directory in RAILS_ROOT/private.
The chart contains confidential information and so can't live in /public
or any sub-directories of /public.
The chart needs to be displayed from a partial. The first display of
the page contai
2 matches
Mail list logo