Added config for images path and sizes.

This commit is contained in:
Christoph Haas 2014-12-07 22:31:32 +01:00
parent 1bae7cf382
commit babc6ccf19

View file

@ -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