diff options
| author | Greg Roach <fisharebest@gmail.com> | 2017-11-20 16:09:33 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2017-11-20 16:09:33 +0000 |
| commit | 44116e73ec94019d186ad9533cdb141c013a062a (patch) | |
| tree | 615b60756bfe8194246e547b74bef0c026ae84e7 /app/View.php | |
| parent | 96b8ac9323f83a2c31631aa8d50c2f7a60574cb0 (diff) | |
| download | webtrees-44116e73ec94019d186ad9533cdb141c013a062a.tar.gz webtrees-44116e73ec94019d186ad9533cdb141c013a062a.tar.bz2 webtrees-44116e73ec94019d186ad9533cdb141c013a062a.zip | |
Add information about views to debugbar
Diffstat (limited to 'app/View.php')
| -rw-r--r-- | app/View.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/View.php b/app/View.php index 8bde04d9c9..c140d68e6b 100644 --- a/app/View.php +++ b/app/View.php @@ -83,6 +83,8 @@ class View { public static function make($name, $data = []) { $view = new static($name, $data); + DebugBar::addView($name, $data); + return $view->render(); } } |
