has_images 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/init.rb +1 -1
  2. 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.seo_name rescue attachment.instance.parentmodel.to_s
15
+ attachment.instance.parentmodel.friendly_name rescue attachment.instance.parentmodel.to_s
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_images
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Meise