has_images 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/init.rb +1 -1
- metadata +1 -1
data/init.rb
CHANGED
@@ -12,5 +12,5 @@ Paperclip.interpolates :parent do |attachment, style|
|
|
12
12
|
end
|
13
13
|
|
14
14
|
Paperclip.interpolates :parent_name do |attachment, style|
|
15
|
-
attachment.instance.parentmodel.
|
15
|
+
attachment.instance.parentmodel.friendly_name rescue attachment.instance.parentmodel.to_s
|
16
16
|
end
|