laravel MVC execution flow
PHP Snippet 1:
if(getCartTotal())
{
return View::make('cart.checkout');
}else {
return Redirect::route('cart')->withCartErrorMessage('Please add some items to cart!');
}
PHP Snippet 2:
php artisan view:clear