Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Fix use of run_callbacks in Rails 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jviney committed Dec 10, 2012
1 parent ba76875 commit fec71cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/paperclip/callbacks.rb
Expand Up @@ -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
Expand Down

0 comments on commit fec71cf

Please sign in to comment.