mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
removed views/composters.php
This commit is contained in:
parent
8068a88b87
commit
277d161197
@ -1,27 +0,0 @@
|
||||
<?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;
|
||||
},
|
||||
|
||||
);
|
Loading…
x
Reference in New Issue
Block a user