Keep getting server error in Laravel Route

Route::get('/about', function(){
    return "Hello About";

Just installed a laravel 5.2, whenever I create a new route, it shows me 500 internet server error

but when I use the default route /welcome and I write in url /invoice/public this shows the Laravel text in the center.

Have you checked the error log?

What environment are you using for this?

Hi @vijesharora16,

In windows, if you are in local and not using homestead use php artisan serve in command prompt.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.