Commit fec71cfc by Jonathan Viney

Fix use of run_callbacks in Rails 4.

parent ba768753
...@@ -22,8 +22,8 @@ module Paperclip ...@@ -22,8 +22,8 @@ module Paperclip
end end
module Running module Running
def run_paperclip_callbacks(callback, opts = nil, &block) def run_paperclip_callbacks(callback, &block)
run_callbacks(callback, opts, &block) run_callbacks(callback, &block)
end end
end 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