dimanche 6 novembre 2016

Laravel returning a blank page on only certain routes

I'm having an issue where a route is returning a blank page. I am using Homestead as my dev environment and I'm unsure how to debug.

The /storage/logs/laravel ... isn't returning any exceptions when I visit the white page.

web.php (where it's failing):

Route::get('/clinic/register', 'ClinicController@register');

Controller.php:

public function register()
{
    return view('clinic.register', ['specialisms' => Specialism::pluck('specialism', 'id')]);
}

Yet when I visit /clinic/register I am shown a blank white page. How can I see why it's failing? Surely a white page will return an exception somewhere?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire