continued refactoring of view classes.

This commit is contained in:
Taylor Otwell
2011-08-29 19:27:02 -05:00
parent 15cde60794
commit 8229891d26
5 changed files with 43 additions and 11 deletions

View File

@@ -37,9 +37,9 @@ return array(
|
*/
'GET /' => function($application)
'GET /' => function($laravel)
{
return $application->view->make('home.index');
return $laravel->view->make('home.index');
},
);

View File

@@ -81,7 +81,7 @@
<h2><?php echo $apology; ?></h2>
<p>We couldn't find the resource you requested. Would you like go to our <a href="<?php echo Laravel\Config::get('application.url'); ?>">home page</a> instead?</p>
<p>We couldn't find the resource you requested. Would you like go to our <a href="<?php echo $homepage; ?>">home page</a> instead?</p>
</div>
</body>
</html>