title: failed to open page to many redirect
body: <p>I have problem use below code to build a login system, it failed to open page because too many redirect,  I trying to make folder path like<br>
  <code>admin/login</code><br>
  <code>admin/</code> to AdminArticleController.php crud<br>
  and any path under <code>admin</code> should be detect logged in or not, how to fix it?</p>
  
  <p>route.php</p>
  
  <pre><code>Route::group(array('prefix' =&gt; 'admin', 'before' =&gt; 'loginsession'), function()
  {
      Route::get('/', function()
      {
          print 'article';
      });
      Route::get('/login', 'AdminDashboardController@getLogin');
  
  
      Route::post('/login', function()
      {    
      });
      Route::post('/logout', function()
  {
      });
  });
  
  Route::filter('loginsession', function()
  {
      if(!Session::has('loggedin'))
      {
          return Redirect::to('admin/login');
      }
  });
  </code></pre>
  
  <p>UPDATE<br>
  How to check session exist when visit any file under <code>admin/</code> include <code>admin/login</code> or <code>admin/article/..</code></p>
  
  <pre><code>Route::resource('admin/article','AdminArticleController');
  </code></pre>