changed application file structure and routing definitions.

This commit is contained in:
Taylor Otwell
2011-08-02 21:23:13 -05:00
parent 32f383205e
commit e40faa1945
6 changed files with 17 additions and 29 deletions

View File

@@ -0,0 +1,27 @@
<?php
return array(
/*
|--------------------------------------------------------------------------
| View Composers
|--------------------------------------------------------------------------
|
| View composers provide a convenient way to add common elements to a view
| each time it is created. For example, you may wish to bind a header and
| footer partial each time the view is created.
|
| The composer will receive an instance of the view being created, and is
| free to modify the view however you wish. Be sure to always return the
| view instance at the end of your composer.
|
| For more information, check out: http://laravel.com/docs/start/views#composers
|
*/
'home/index' => function($view)
{
return $view;
},
);