title: Different default template loading even though i have set routing correctly
body: <p>In my <code>views</code> folder i have <code>layouts/main.blade.php</code> and under <code>store/index.blade.php</code> i am using the layout file like so:</p>
  
  <pre><code>@extends('layouts.main') // importing here.
  
  @section('promo')
  
      &lt;section id="promo"&gt;
          &lt;div id="promo-details"&gt;
              &lt;h1&gt;Today's Deals&lt;/h1&gt;
              &lt;p&gt;Checkout this section of&lt;br/&gt;
               products at a discounted price.&lt;/p&gt;
              &lt;a href="#" class="default-btn"&gt;Shop Now&lt;/a&gt;
          &lt;/div&gt;&lt;!-- end promo-details --&gt;
          {{ HTML::image('img/promo.png' , 'Promotional Ad') }}
      &lt;/section&gt;&lt;!-- promo --&gt;
  
  @stop
  
  @section('content')
  
  
        &lt;h2&gt;New Products&lt;/h2&gt;
        &lt;hr&gt;
        &lt;div id="products"&gt;
            @foreach($products as $product)
            &lt;div class="product"&gt;
                &lt;a href="store/view/{{ $product-&gt;id }}"&gt;
                  {{ HTML::image($product-&gt;image , $product-&gt;title , array('class'=&gt;'feature' ,
                  'width'=&gt;'240' , 'height'=&gt;'127')) }}
                &lt;/a&gt;
  
                &lt;h3&gt;
                  &lt;a href="/store/view/{{ $product-&gt;id }}"&gt;
                    {{ $product-&gt;title }}
                  &lt;/a&gt;
                &lt;/h3&gt;
  
                &lt;p&gt;
                  {{ $product-&gt;description }}
                &lt;/p&gt;
  
                &lt;h5&gt;Availability:
                  &lt;span class="{{ Availability::displayClass($product-&gt;availability) }}"&gt;
                    {{ Availability::display($product-&gt;availability) }}
                  &lt;/span&gt;
                &lt;/h5&gt;
  
                &lt;p&gt;
                    &lt;a href="#" class="cart-btn"&gt;
                        &lt;span class="price"&gt;${{ $product-&gt;price }}&lt;/span&gt;
                         {{ HTML::image('img/white-cart.gif' , 'Add to Cart') }}
                          ADD TO CART
                    &lt;/a&gt;
                &lt;/p&gt;
            &lt;/div&gt;
            @endforeach
        &lt;/div&gt;  &lt;!-- end products --&gt;
  @stop
  </code></pre>
  
  <p>In my storeController , i am calling the <code>store/index.blade.php</code> file like so:</p>
  
  <pre><code> public function getIndex() {
          return View::make('store.index')
            -&gt;with('products' , Product::take(4)-&gt;orderBy('created_at' , 'DESC')-&gt;get());
        }
  </code></pre>
  
  <p>In my routing file, i have the following:</p>
  
  <pre><code>Route::get('/',  array('uses' =&gt; 'StoreController@getIndex'));
  </code></pre>
  
  <p>But still when i load my <code>/</code> , i get some other template rather than <code>layouts/main.blade.php</code>. Why is this happening ? can anybody explain ? </p>
  
  <p>Why is <code>layouts/main.blade.php</code> not loading when i hit <code>/</code> in the browser ? </p>
  
  <p>Thank you. </p>
  
  <p>Alex-z. </p>