Permalink
Browse files

Remove parenthesis warning

  • Loading branch information...
1 parent 4ee4fd3 commit 48a9c3ba24be0d320d6af81562e2bbe677a85b44 @jyurek jyurek committed Feb 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/paperclip/callbacks.rb
@@ -7,7 +7,7 @@ def self.included(base)
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)

0 comments on commit 48a9c3b

Please sign in to comment.