Commit 632f5ffb by jyurek

Fixed an embarrassing syntax error

git-svn-id: https://svn.thoughtbot.com/plugins/paperclip/trunk@404 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
parent b675feab
......@@ -128,8 +128,8 @@ module Paperclip
end,
:id => lambda{|attachment,style| attachment.instance.id },
:partition_id => lambda do |attachment, style|
("%09d" % attachment.instance.id).scan(/\d{3}/).join("/")))
end
("%09d" % attachment.instance.id).scan(/\d{3}/).join("/")
end,
:attachment => lambda{|attachment,style| attachment.name.to_s.pluralize },
:style => lambda{|attachment,style| style || attachment.default_style },
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment