Commit 0008a232 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1857 from doubleking/master

Changed Laravel\ namespace prefix in some classes calls in helpers to global.
parents 4ecbef68 e4080c02
......@@ -328,7 +328,7 @@ function head($array)
*/
function url($url = '', $https = null)
{
return Laravel\URL::to($url, $https);
return URL::to($url, $https);
}
/**
......@@ -340,7 +340,7 @@ function url($url = '', $https = null)
*/
function asset($url, $https = null)
{
return Laravel\URL::to_asset($url, $https);
return URL::to_asset($url, $https);
}
/**
......@@ -360,7 +360,7 @@ function asset($url, $https = null)
*/
function action($action, $parameters = array())
{
return Laravel\URL::to_action($action, $parameters);
return URL::to_action($action, $parameters);
}
/**
......@@ -380,7 +380,7 @@ function action($action, $parameters = array())
*/
function route($name, $parameters = array())
{
return Laravel\URL::to_route($name, $parameters);
return URL::to_route($name, $parameters);
}
/**
......@@ -523,7 +523,7 @@ function view($view, $data = array())
{
if (is_null($view)) return '';
return Laravel\View::make($view, $data);
return View::make($view, $data);
}
/**
......@@ -537,7 +537,7 @@ function render($view, $data = array())
{
if (is_null($view)) return '';
return Laravel\View::make($view, $data)->render();
return View::make($view, $data)->render();
}
/**
......@@ -551,7 +551,7 @@ function render($view, $data = array())
*/
function render_each($partial, array $data, $iterator, $empty = 'raw|')
{
return Laravel\View::render_each($partial, $data, $iterator, $empty);
return View::render_each($partial, $data, $iterator, $empty);
}
/**
......@@ -562,7 +562,7 @@ function render_each($partial, array $data, $iterator, $empty = 'raw|')
*/
function yield($section)
{
return Laravel\Section::yield($section);
return Section::yield($section);
}
/**
......
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