Skip to content

Commit

Permalink
Fix return value of Hanami::Repository#all.
Browse files Browse the repository at this point in the history
  • Loading branch information
beauby committed Nov 13, 2016
1 parent 514fbfd commit 2306443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hanami/repository.rb
Expand Up @@ -384,7 +384,7 @@ def find(id)
# @example
# UserRepository.new.all
def all
root.as(:entity)
root.as(:entity).to_a
end

# Returns the first record for the relation
Expand Down

0 comments on commit 2306443

Please sign in to comment.