Support the ongoing development of Laravel.io →
posted 9 years ago
Views
Last updated 2 years ago.
0

This sounds like a silly problem I had not too long ago.

I found that I had accidentally named the file incorrectly and used a comma instead of a period like so:

myview,blade.php (note the comma).

Last updated 2 years ago.
0

I checked and it's not the case here:

action@comfortable-lannisport-33-149212:~/workspace/finance/app/views/abbonementen $ ls                                                       
create.blade.php 

Roelof

Last updated 2 years ago.
0

Here is the routes.php file

Route::get('/', array('as' => 'home', 'uses' => 'HomeController@showDashboard' ));

Route::resource ('abbonementen', 'AbbonementenController'); 
Last updated 2 years ago.
0

modify the config/view.php to include your new folder path like so.


'paths' => [
    __DIR__.'/../views', 
    __DIR__.'/../views/abbonementen',
],

Last updated 2 years ago.
0

Hello,

I found it after some talking on IRC. There was a extra space after the abbonementen directory name

Roelof

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.