Commit 48a9c3ba by Jon Yurek

Remove parenthesis warning

parent 4ee4fd3a
......@@ -7,7 +7,7 @@ module Paperclip
module Defining
def define_paperclip_callbacks(*callbacks)
define_callbacks *[callbacks, {:terminator => callback_terminator}].flatten
define_callbacks(*[callbacks, {:terminator => callback_terminator}].flatten)
callbacks.each do |callback|
eval <<-end_callbacks
def before_#{callback}(*args, &blk)
......
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