From c9beefaa28b2c9a9b539ec6fd10b4aa8805627d2 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 8 Oct 2011 23:45:30 -0500 Subject: [PATCH] add better comments to composer file. --- application/composers.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/application/composers.php b/application/composers.php index 777cf3da..5acd4d6c 100644 --- a/application/composers.php +++ b/application/composers.php @@ -37,16 +37,19 @@ return array( | // | }) | + | The "shared" composer is called for every view. This allows the + | convenient binding of global data or assets. + | */ 'shared' => function($view) { - // + // This composer is called for every view. }, 'home.index' => array('name' => 'home', function($view) { - // + // This composer is called for the "home.index" view. }), ); \ No newline at end of file