We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57dcd87 commit 2765d86Copy full SHA for 2765d86
app/Models/Traits/PageHelper.php
@@ -73,6 +73,12 @@ static public function whereParentIdORM(
73
*/
74
public function updateUrl()
75
{
76
+ // if slug is url
77
+ if(is_slug_url($this->slug)) {
78
+ $this->url = $this->slug;
79
+ return $this;
80
+ }
81
+
82
$this->url = '';
83
$this->generateCompleteUrl($this);
84
$this->url = $this->url;
0 commit comments