title: Laravel admin area
body: <p>working on a basic template for all future projects and decided to use Laravel.</p>
  
  <p>The aim is just to create a starting point for any websites I make in the future (basic blog, admin area + user login system).</p>
  
  <p>I was following a tutorial on the CRUD basics and made a simple blog management app. However I wish to put this into an /admin area.</p>
  
  <p>Before, I had this in my route:</p>
  
  <pre><code>Route::resource('blog', 'BlogController');
  </code></pre>
  
  <p>Which then allowed me to simply use the functions in my BlogController on the domain.com/blog URL.</p>
  
  <p>This is all working, but I want to mask this behind an admin area. I thought I could just move the blog folder with all my blog views in, into a admin folder but hitting route not defined errors.</p>
  
  <p>The views folder is:</p>
  
  <pre><code>- Views
  
    - admin
  
      - blog
        - edit.blade.php
        - index.blade.php
        - new.blade.php
        - show.blade.php
  
    - home.blade.php
  </code></pre>
  
  <p>Before, my blog folder was simply in the views folder itself. What do I need to change to get domain.com/admin/blog working the same as it did before?</p>
  
  <p><strong>Using Laravel 4.2</strong></p>