Browse Source

add better comments to composer file.

Taylor Otwell 13 years ago
parent
commit
c9beefaa28
1 changed files with 5 additions and 2 deletions
  1. 5 2
      application/composers.php

+ 5 - 2
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.
 	}),
 
 );