Skip to content

Commit

Permalink
Merge pull request #67 from twogood/patch-1
Browse files Browse the repository at this point in the history
Use correct Slim 4 factory class and method
  • Loading branch information
l0gicgate committed Dec 28, 2020
2 parents d7f0e25 + 2f81b75 commit 7ebaa5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use Slim\Views\PhpRenderer;

include "vendor/autoload.php";

$app = Slim\AppFactor::creates();
$app = Slim\AppFactory::create();

$app->get('/hello/{name}', function ($request, $response, $args) {
$renderer = new PhpRenderer('path/to/templates');
Expand Down

0 comments on commit 7ebaa5e

Please sign in to comment.