Commit 21adca11 by Prem Sichanugrist

Merge pull request #1106 from jviney/master

Fix use of run_callbacks in Rails 4

Rails 4 removed the second argument from `run_callback`.
parents a2728b33 fec71cfc
......@@ -22,8 +22,8 @@ module Paperclip
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
......
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