mercredi 8 février 2017

view files outside the resources dir in laravel 5.0

I have a view,in which I would like to store it outside the current resources/views. Currently we access it like so

public function sideBarItems(){
     return view('ApplicationCreator.sideBarItems.blade.php');
}

but what if I want to access the view from outside resources/views? If my folder tree looks like this.

+newFolder
    -foo.blade.php

+resouces
   -views
       -ApplicationCreator
           -sideBarItems.blade.php

how should I access the foo.blade.php



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2kOWtHh
via IFTTT

Aucun commentaire:

Enregistrer un commentaire