Skip to content

Commit 192fdf7

Browse files
authored
Update Controller.php
1 parent 8b0e72c commit 192fdf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Red/Base/Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct()
2727

2828
$controller_name = substr($controller_name, strrpos($controller_name, '\\') + 1);
2929

30-
if(file_exists(ROOT_PATH . 'app' . DS . 'models' . DS . $controller_name . 'model' . '.php')){
30+
if(file_exists(ROOT_PATH . 'app' . DS . 'Models' . DS . $controller_name . 'Model' . '.php')){
3131

3232
$model = 'App' . "\\". 'Models' . "\\" . $controller_name . 'Model';
3333

0 commit comments

Comments
 (0)