From c9d10158c786a28d0f208d2c199dbc10004c79b5 Mon Sep 17 00:00:00 2001 From: Robson Jonathas <68930311+robsonjonathas@users.noreply.github.com> Date: Thu, 2 Apr 2026 11:11:51 -0300 Subject: [PATCH] Update controller.html --- docs/guides/api/controller.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/api/controller.html b/docs/guides/api/controller.html index af1e40f4..25eda1f5 100644 --- a/docs/guides/api/controller.html +++ b/docs/guides/api/controller.html @@ -451,8 +451,8 @@

Add the Model helper methodpublic function withAuthorInfo() { return $this - ->select('book.*, author.name as author_name') - ->join('author', 'book.author_id = author.id'); + ->select('books.*, authors.name as author_name') + ->join('authors', 'books.author_id = authors.id'); } } @@ -679,4 +679,4 @@

A More Semantic Naming Scheme