TODO added
This commit is contained in:
parent
369837a6d7
commit
707d327765
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ class PackagesController < ApplicationController
|
||||||
private
|
private
|
||||||
|
|
||||||
# Send a dummy thumbnail reading "No screenshot available. Sorry."
|
# Send a dummy thumbnail reading "No screenshot available. Sorry."
|
||||||
|
# TODO: Make sure it uses X-Sendfile correctly in production
|
||||||
def thumbnail404
|
def thumbnail404
|
||||||
send_file Rails.root.join('public/images/dummy/no-screenshots-available.png'),
|
send_file Rails.root.join('public/images/dummy/no-screenshots-available.png'),
|
||||||
type: "image/png",
|
type: "image/png",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue