Laravel not calling function inside if statement

前端 未结 0 437
暖寄归人
暖寄归人 2020-12-14 11:14

In laravel 8 I\'m trying to pass data to the view blade template. This is my code:

Route::get(\'/admin\', function(){
    if (session()->has(\'username\'))         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题