From 76164dd79d0087da879b7346d7eb8aed413e2fed Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Wed, 20 Nov 2013 21:20:25 +0100 Subject: [PATCH] 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. --- config/environments/development.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 566f448..24a4595 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -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