Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Commit

Permalink
Upgrade to Laravel 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravmak committed Sep 8, 2018
1 parent c6be2fe commit 3cfc107
Show file tree
Hide file tree
Showing 6 changed files with 199 additions and 125 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/DataTableController.php
Expand Up @@ -3,8 +3,8 @@
namespace App\Http\Controllers;

use App\User;
use Freshbitsweb\Laratables\Laratables;
use App\Product;
use Freshbitsweb\Laratables\Laratables;

class DataTableController extends Controller
{
Expand Down
7 changes: 7 additions & 0 deletions app/Http/Middleware/VerifyCsrfToken.php
Expand Up @@ -6,6 +6,13 @@

class VerifyCsrfToken extends Middleware
{
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* @var bool
*/
protected $addHttpCookie = true;

/**
* The URIs that should be excluded from CSRF verification.
*
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -8,10 +8,11 @@
"php": "^7.1.3",
"fideloper/proxy": "^4.0",
"freshbitsweb/laratables": "^1.0",
"laravel/framework": "5.6.*",
"laravel/framework": "5.7.*",
"laravel/tinker": "^1.0"
},
"require-dev": {
"beyondcode/laravel-dump-server": "^1.0",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
Expand Down

0 comments on commit 3cfc107

Please sign in to comment.