GDim

Experience

510

0 Best Reply Awards

  • Member Since 7 Months Ago
  • 5 Lessons Completed
  • 0 Favorites

6th December, 2016

GDim left a reply on Form Do Not Works • 7 months ago

You can to get $request at your controller after the form is posted.

?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class HomeController extends Controller
{
    /**
     * Your 'delete-photo' route must use this method
     *
     */
    public function deletePhoto(Request $request)
    {
        dd($request->all());
    }
}


GDim left a reply on TokenMismatchException In Compiled.php Line 3227 • 7 months ago

You also can add meta tag in layout:

<meta name="csrf-token" content="{{ csrf_token() }}">
Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.