with parameter
Route::get("/profile/detail/{id}", ['ProfileController@detail', ['auth']]);<?php
namespace App\Controllers;
class UsersController
{
public function detail($id){
//code here
}
}Last updated
Route::get("/profile/detail/{id}", ['ProfileController@detail', ['auth']]);<?php
namespace App\Controllers;
class UsersController
{
public function detail($id){
//code here
}
}Last updated