Skip to content

Commit

Permalink
Fix reference to models directory in Boostrap.
Browse files Browse the repository at this point in the history
  • Loading branch information
Austen McDonald committed May 22, 2016
1 parent e2c97d2 commit 090beed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static function createGame(): Game
$pdo = new \PDO($dsn, $user, $passwd);

// Read db annotations from model files
$configuration = Setup::createAnnotationMetadataConfiguration(["src/Models"], true);
$configuration = Setup::createAnnotationMetadataConfiguration([__DIR__ . '/Models'], true);
$configuration->setQuoteStrategy(new AnsiQuoteStrategy());

$configuration->addFilter("soft-deleteable", 'Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter');
Expand Down

0 comments on commit 090beed

Please sign in to comment.