Commit 49f71457 authored by Taylor Otwell's avatar Taylor Otwell

added log to aliases. fixed flash data bug.

parent 8ae6b95d
...@@ -85,6 +85,7 @@ return array( ...@@ -85,6 +85,7 @@ return array(
'Inflector' => 'System\\Inflector', 'Inflector' => 'System\\Inflector',
'Input' => 'System\\Input', 'Input' => 'System\\Input',
'Lang' => 'System\\Lang', 'Lang' => 'System\\Lang',
'Log' => 'System\\Log',
'URL' => 'System\\URL', 'URL' => 'System\\URL',
'Redirect' => 'System\\Redirect', 'Redirect' => 'System\\Redirect',
'Request' => 'System\\Request', 'Request' => 'System\\Request',
......
...@@ -119,6 +119,11 @@ else ...@@ -119,6 +119,11 @@ else
// ---------------------------------------------------------- // ----------------------------------------------------------
System\Filter::call('after', array($response)); System\Filter::call('after', array($response));
// ----------------------------------------------------------
// Stringify the response.
// ----------------------------------------------------------
$response->content = (string) $response->content;
// -------------------------------------------------------------- // --------------------------------------------------------------
// Close the session. // Close the session.
// -------------------------------------------------------------- // --------------------------------------------------------------
......
...@@ -204,7 +204,7 @@ class Session { ...@@ -204,7 +204,7 @@ class Session {
public static function close() public static function close()
{ {
// ----------------------------------------------------- // -----------------------------------------------------
// Flash the old input into the session. // Do we need to re-flash the old Input data?
// ----------------------------------------------------- // -----------------------------------------------------
static::flash('laravel_old_input', Input::get()); static::flash('laravel_old_input', Input::get());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment