title: accessing public folder in laravel using blade
body: <p>I have a view called <code>homePage.blade.php</code> which is my master page which resides in <code>res/views/</code> in that file I have this.</p>
  
  <pre><code>&lt;link rel="stylesheet" href="css/coreStyleSheet.css"&gt;
  &lt;link rel="stylesheet" href="css/animate.css"&gt;
  &lt;script src="js/coreScripting.js"&gt;&lt;/script&gt;
  &lt;script src="js/moments.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" href="icons/fontAwesome/css/font-awesome.css"&gt; &lt;/head&gt;
  </code></pre>
  
  <p>all is fine?</p>
  
  <p>Now I create a folder called <code>AppCreate</code> who's path is <code>res/views/AppCreate</code> I have a blade file there called <code>something.blade.php</code> now when I use <code>@extends('homePage')</code> I am not able to access the css,js. </p>
  
  <p>my tree looks like this.</p>
  
  <p>-res
    -views
       homePage.blade.php
       -AppCreate
         -something.blade.php</p>
  
  <p>I redirect something.blade.php tp public/admin/appcreate
  I redirect homePage.blade.php to public/dashBoard.</p>
  
  <p>I hope I have explained it well.</p>
  
  <p>when I access the public /admin/appcreate laravel is not able to find the css and the js because it says this.</p>
  
  <pre><code>    GET http://localhost/laravel/public/admin/css/coreStyleSheet.css 
  appcreate:12 GET http://localhost/laravel/public/admin/js/moments.js 
  appcreate:11 GET http://localhost/laravel/public/admin/js/coreScripting.js 
  appcreate:13 GET http://localhost/laravel/public/admin/icons/fontAwesome/css/font-awesome.css 
  </code></pre>