Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
Merge pull request jstorimer#73 from sellect/master
Browse files Browse the repository at this point in the history
fix undefined method `[]' for nil:NilClass, Issue#66
  • Loading branch information
jrgifford committed Jan 28, 2014
2 parents 28de434 + 442ec4a commit 1fdded7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed_paperclip/attachment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def process_delayed!
end

def processing_image_url
processing_image_url = @options[:delayed][:processing_image_url]
processing_image_url = delayed_options[:processing_image_url]
processing_image_url = processing_image_url.call(self) if processing_image_url.respond_to?(:call)
processing_image_url
end
Expand Down

0 comments on commit 1fdded7

Please sign in to comment.