cleaning up view code.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell 2012-02-25 22:30:35 -06:00
parent 711d60a506
commit 2a02b9f6ac
1 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ public function render()
{ {
// To allow bundles or other pieces of the application to modify the // To allow bundles or other pieces of the application to modify the
// view before it is rendered, we'll fire an event, passing in the // view before it is rendered, we'll fire an event, passing in the
// view instance so it can modified by the composer. // view instance so it can modified.
$composer = "laravel.composing: {$this->view}"; $composer = "laravel.composing: {$this->view}";
Event::fire($composer, array($this)); Event::fire($composer, array($this));
@ -232,7 +232,7 @@ public function get()
// We'll include the view contents for parsing within a catcher // We'll include the view contents for parsing within a catcher
// so we can avoid any WSOD errors. If an exception occurs we // so we can avoid any WSOD errors. If an exception occurs we
// will just throw it back out to the exception handler. // will throw it out to the exception handler.
try try
{ {
include $this->path; include $this->path;