Rails 3: How to get image path in Controller ?
To get the image path in Controller I use the following method:

    class AssetsController < ApplicationController
      def download(image_file_name)
        path = Rails.root.join("public", "images", image_file_name).to_s
        send_file(path, ...)
      end
    end

Is there a better method to find the path ?
Rails 3: How to get image path in Controller ?
===

To get the image path in Controller I use the following method:

    class AssetsController < ApplicationController
      def download(image_file_name)
        path = Rails.root.join("public", "images", image_file_name).to_s
        send_file(path, ...)
      end
    end

Is there a better method to find the path ?