FEATURE: add number of views in page

This commit is contained in:
Michal Kváček
2016-09-20 01:04:23 +02:00
parent 7a681fd7f7
commit 8bd30d0301
3 changed files with 45 additions and 0 deletions
@@ -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;