title: Linking asset files to views in Laravel4
body: <p>Hi I am newbie learning laravel 4 for creating an application. I am trying to link twitter bootstrap3 files to views using laravel blades. I installed a new laravel application folder.</p>
  
  <p>To remove public from url path i removed all the file in public folder and kept outside of public folder. I changed paths as per the above changes in index.php file.As per my needs i will have two sections in my application one is for users and another is for admin.</p>
  
  <p>So for this i changed my routes.php file like this below.</p>
  
  <pre><code>Route::get('/', 'HomeController@index');
  
  Route::get('/admin', 'AdminController@index');
  </code></pre>
  
  <p>I created two controllers one for users and another for admin named as HomeController and AdminController. Both files will look like below.</p>
  
  <pre><code>HomeController for Users
  
  &lt;?php
  
  class HomeController extends BaseController {
  
  
     public function index()
     {
      return View::make('index');
     }
  
   }
  
  AdminController for admin section
  
  &lt;?php
  
  class AdminController extends BaseController {
  
  
      public function index()
      {
          return View::make('admin.index');
      }
  
  }
  </code></pre>
  
  <p>Now i created admin folder under views folder for admin section. Thats why i kept <code>admin.index</code> to call admin index page when the url is like this <code>http://localhost/laravel/admin</code>. </p>
  
  <p>Now i created assets folder which has css folder for css files, js folder js files and images folder for images. I want to link these css and js files to my admin view. So i created a <code>layout.blade.php</code> like below.</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;Laravel&lt;/title&gt;
  
  &lt;link rel="stylesheet" href="{{ asset('assets/css/bootstrap.css') }}"&gt;
  &lt;link rel="stylesheet" href="{{ asset('assets/css/style.css') }}"&gt;
  &lt;script type="text/javascript" src="{{ asset('assets/js/jquery-1.10.1.min.js') }}"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="{{ asset('assets/js/bootstrap.min.js') }}"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;  
      @yield('content')
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>After this i changed my view into like this below.</p>
  
  <pre><code>@extends('layout')
  @section('content')
  &lt;div class="container"&gt;
      &lt;div class="row clearfix"&gt;
          &lt;div class="col-md-12 column"&gt;
              &lt;p&gt;Here Comes Admin Section&lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  @stop
  </code></pre>
  
  <p>But the assets are not linking. May i know where i am going wrong.</p>