Cachet is now a Laravel 5 app

This commit is contained in:
Joseph Cohen
2015-03-20 18:30:45 -06:00
parent 7cfa158e68
commit b4ac66d727
338 changed files with 4164 additions and 4114 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace CachetHQ\Cachet\Composers;
use Illuminate\Support\Facades\Auth;
use Illuminate\View\View;
class LoggedUserComposer
{
/**
* Bind data to the view.
*
* @param \Illuminate\View\View $view
*
* @return void
*/
public function compose(View $view)
{
$view->with('loggedUser', Auth::user());
}
}