Permalink
Browse files

Fix use of run_callbacks in Rails 4.

  • Loading branch information...
1 parent ba76875 commit fec71cfca89f0a34e37a62c9c9fb58080952a737 @jviney jviney committed Dec 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/paperclip/callbacks.rb
@@ -22,8 +22,8 @@ def after_#{callback}(*args, &blk)
end
module Running
- def run_paperclip_callbacks(callback, opts = nil, &block)
- run_callbacks(callback, opts, &block)
+ def run_paperclip_callbacks(callback, &block)
+ run_callbacks(callback, &block)
end
end
end

0 comments on commit fec71cf

Please sign in to comment.