Skip to content

Commit 01ca585

Browse files
committed
docs: use BaseController instead of Controller
1 parent 10bee8b commit 01ca585

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

user_guide_src/source/tutorial/news_section.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,8 @@ a new ``News`` controller is defined. Create the new controller at
142142
namespace App\Controllers;
143143

144144
use App\Models\NewsModel;
145-
use CodeIgniter\Controller;
146145

147-
class News extends Controller
146+
class News extends BaseController
148147
{
149148
public function index()
150149
{

0 commit comments

Comments
 (0)