diff --git a/lib/active_decorator/decorator.rb b/lib/active_decorator/decorator.rb index af8d659..0fc9812 100644 --- a/lib/active_decorator/decorator.rb +++ b/lib/active_decorator/decorator.rb @@ -19,7 +19,7 @@ def to_a_with_decorator end def self.decorate_all(models) - return if models.empty? + return models if models.empty? decorator_name = "#{models.first.class.name}Decorator" k = decorator_name.constantize models.each do |m|