mirror of
https://github.com/getgrav/grav.git
synced 2026-07-10 15:03:47 +02:00
unset route and slug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user