Permalink
Browse files

Fix model adapter configuration syntax (#479)

  • Loading branch information...
Bounga authored and jodosha committed Mar 29, 2018
1 parent 563b1d5 commit db03072fa29caff64f20c77e6a9cd827e6279d0d
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
@@ -242,7 +242,7 @@ class UserRepository < Hanami::Repository
end
Hanami::Model.configure do
adapter :sql, uri: 'postgresql://localhost/bookshelf'
adapter :sql, 'postgresql://localhost/bookshelf'
end.load!
repository = UserRepository.new

0 comments on commit db03072

Please sign in to comment.