update method

This commit is contained in:
Taylor Otwell 2016-05-12 22:53:02 -05:00
parent 37ce8b50ce
commit e7ff2bfb4d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public function boot()
{
Broadcast::route(['middleware' => ['web']]);
Broadcast::channel('channel-name.*', function ($user, $id) {
Broadcast::auth('channel-name.*', function ($user, $id) {
return true;
});
}