Update CHANGELOG

This commit is contained in:
Samuel Georges 2015-01-05 15:02:22 +11:00
parent 55a68be13b
commit b08020fd4c
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,6 @@
* **Build 17x** (2015-01-xx)
- The variable `errors` will be included in a CMS page when redirecting via `Redirect::withErrors($validator)`.
* **Build 174** (2015-01-05)
- Improved asset caching (`cms.enableAssetCache`), when enabled the server will send a *304 Not Modified* header.
- Introduced new *Table* widget and *DataTable* form widget.

View File

@ -8,6 +8,7 @@ use View;
use Lang;
use Event;
use Config;
use Session;
use Request;
use Response;
use Exception;
@ -238,8 +239,8 @@ class Controller extends BaseController
/*
* Check for the presence of validation errors in the session.
*/
$this->vars['errors'] = (Config::get('session.driver') && \Session::has('errors'))
? \Session::get('errors')
$this->vars['errors'] = (Config::get('session.driver') && Session::has('errors'))
? Session::get('errors')
: new \Illuminate\Support\ViewErrorBag;
/*