Function () does not exist

Posted 1 month ago by irankhosravi

Look at my codes

web.php

Route::get('/mobileServices',['as' => 'mobileServices'], function (){
    Alert::message('Welcome back!');
});

blade.php

<tr>
    <td><a href="{{ route('mobileServices') }}">Mobile Services</a> </td>
</tr>

I tried but I et this error.

Function () does not exist

Please sign in or create an account to participate in this conversation.