unset route and slug

This commit is contained in:
Andy Miller
2015-08-14 15:01:13 -06:00
parent 6fd85c8dbd
commit 1c9dec6ea4

View File

@@ -1230,10 +1230,10 @@ class Page
/**
* Helper method to clear the route out so it regenerates next time you use it
*/
public function unsetRoute()
public function unsetRouteSlug()
{
unset($this->route);
unset($this->slug);
}
public function rawRoute($var = null)