Update CHANGELOG
This commit is contained in:
parent
55a68be13b
commit
b08020fd4c
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue