Added a configurable path leading to screenshots.

Screenshots/thumbnails should be delivered statically from a front-end
web server. This introduces the "images_path_prefix" configuration
variable that makes the URL path configurable that is used to load
screenshots.
This commit is contained in:
Christoph Haas 2013-11-20 21:20:25 +01:00
parent c1de334c57
commit 76164dd79d

View file

@ -26,4 +26,7 @@ Debshots::Application.configure do
# This option may cause significant delays in view rendering with a large
# number of complex assets.
config.assets.debug = true
# URL prefix leading to the static images that should get delivered by the web server
config.images_path_prefix = '/screenshots'
end