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