FEATURE: add number of views in page
This commit is contained in:
@@ -50,6 +50,9 @@ class ContentPage extends Controller
|
||||
throw new \Exception('Cannot access protected resources');
|
||||
}
|
||||
|
||||
// add one new "view" for page
|
||||
$page->view();
|
||||
|
||||
// get handler
|
||||
$handler = new $page->module_handler;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user