config/application_config.rb in community_engine-2.3.0 vs config/application_config.rb in community_engine-2.3.1
- old
+ new
@@ -50,10 +50,13 @@
:photo => {
:missing_thumb => '/assets/icon_missing_thumb.gif',
:missing_medium => "/assets/icon_missing_medium.gif",
:paperclip_options => {
+ :default_url => "",
+ :path => "#{Rails.root}/public/system/:attachment/:id/:style/:filename",
+ :url => "/system/:attachment/:id/:style/:filename",
:styles => {
:thumb => {
:geometry => "100x100#",
:processors => [:cropper]
},
@@ -69,10 +72,13 @@
:feature => {
:use_thumbs => true,
:dimensions => [150, 635],
:paperclip_options => {
+ :default_url => "",
+ :path => "#{Rails.root}/public/system/:attachment/:id/:style/:filename",
+ :url => "/system/:attachment/:id/:style/:filename",
:styles => {
:original => '465>',
:thumb => "45x45#",
:large => "635x150#"
}
@@ -83,9 +89,12 @@
}
},
:clipping => {
:paperclip_options => {
+ :default_url => "",
+ :path => "#{Rails.root}/public/system/:attachment/:id/:style/:filename",
+ :url => "/system/:attachment/:id/:style/:filename",
:styles => {
:thumb => "100x100#",
:medium => "290x320#",
:large => "465>"
}