title: File URL in Rails
body: <p>I have an action in my controller:</p>
  
  <pre><code>def download
      @file = FilmFile.find(params[:film_file_id])
      @file.film.downloads += 1
      @file.film.save
      send_file @file.real_name.path, content_type: @file.real_name.content_type, x_sendfile: true
  end
  </code></pre>
  
  <p>but in Chrome downloads I see URLs to files like <code>http://site.org/film_files/1004/download</code></p>
  
  <p>Is there a way to make URLs like this <code>http://site.org/path/to/file/file.mp4</code> instead of <code>http://site.org/film_files/1004/download</code>?</p>