laravel/laravel — pull request #819 by jasonlewis (2012-06-15 01:03:04+00:00)
Title: Allow checking of named view existance.

This allows you to name views and then check if they exist by prefixing with `name:`.

~~~~
View::name('application.user.register', 'register');

if(View::exists('name: register'))
{
echo 'The register view exists.';
}
else
{
echo 'The register view does not exist.';
}
~~~~

Idea taken from this forum topic: http://forums.laravel.com/viewtopic.php?id=1450

Signed-off-by: Jason Lewis