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