From babc6ccf19a378cc87f2e484447504b80c80ebee Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 7 Dec 2014 22:31:32 +0100 Subject: [PATCH] Added config for images path and sizes. --- config/environments/development.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 79f7b88..3fefcbd 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -37,4 +37,11 @@ Debshots::Application.configure do #components: ['main','restricted','universe','multiverse'] } ] + + config.images_path = Rails.root.join('public', 'screenshots') + + config.image_sizes = { + large: '800x600', + small: '160x120', + } end