From 102de56da41b11f6ba80818415e5724ca7f3056d Mon Sep 17 00:00:00 2001 From: Jim Parry Date: Wed, 5 Dec 2018 06:42:53 -0800 Subject: [PATCH] Fix model namespace in tutorial --- user_guide_src/source/tutorial/news_section.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user_guide_src/source/tutorial/news_section.rst b/user_guide_src/source/tutorial/news_section.rst index b24dd96ff7f9..659a65a5b6f6 100644 --- a/user_guide_src/source/tutorial/news_section.rst +++ b/user_guide_src/source/tutorial/news_section.rst @@ -21,6 +21,8 @@ your database properly as described :doc:`here <../database/configuration>`. :: + namespace App\Models; + use CodeIgniter\Model; class NewsModel extends Model