This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if(count($errors) > 0) | |
<div class="row"> | |
<div class="col-md-12"> | |
<div class="alert alert-danger"> | |
@foreach ($errors->all() as $error) | |
<div>{{ $error }}</div> | |
@endforeach | |
</div> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Full File Path: app/Http/Middleware/CORS.php | |
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
class CORS { |