TODO added

This commit is contained in:
Christoph Haas 2015-04-23 22:34:30 +02:00
parent 369837a6d7
commit 707d327765

View file

@ -66,6 +66,7 @@ class PackagesController < ApplicationController
private
# Send a dummy thumbnail reading "No screenshot available. Sorry."
# TODO: Make sure it uses X-Sendfile correctly in production
def thumbnail404
send_file Rails.root.join('public/images/dummy/no-screenshots-available.png'),
type: "image/png",