From 4b63fcde590bd1998bee75e0595f03ea3bd399d2 Mon Sep 17 00:00:00 2001 From: thosakwe Date: Sat, 15 Jul 2017 11:20:47 -0400 Subject: [PATCH] Update example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 197966f9..0ee1058b 100644 --- a/README.md +++ b/README.md @@ -78,12 +78,12 @@ AngelConfigurer connectToCarsTable(PostgreSQLConnection connection) { app.container.singleton(connection); // Attach the controller we create below - await app.configure(new CarService(connection)); + await app.configure(new CarController(connection)); }; } @Expose('/cars') -class CarService extends Controller { +class CarController extends Controller { // The `connection` will be injected. @Expose('/recalled_since_2008') carsRecalledSince2008(PostgreSQLConnection connection) {