View no found, laravel 5

-1

Good evening.

Friends I see an error in Laravel, I have drivers and routes linked correctly, from my Index view, in a tag:

(<a href="/admin/agregar"</a>)

That way I'm calling the view (add) that is inside the folder (admin). This view is generated in the create function of the controller, that is to say that when I called this view, this create function of the controller will be running. But this is not the case when entering it in the browser. The error appears: View (admin.ver) not found.

Note: the "see" view is executed within the show function of the controller, the path is of resource type to cover all the CRUD of the controller.

I tried the CMD with the command:

  • PHP Artisan cache: clear
  • PHP Artisan config: cache.
  • And when refreshing the page, the error still appears.

Could you help me?

    
asked by Appiweb 16.12.2017 в 04:43
source

1 answer

0

If there is an error that says that the view admin.ver is not found that means that in resources/views/admin/ there is no file that is called ver.blade.php . Therefore, you should create or move it.

    
answered by 16.12.2017 в 11:36