Skip to content

Commit

Permalink
move this after we save
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Nov 20, 2024
1 parent 3957c6b commit 395852c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entries/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,12 +485,12 @@ public function save()
}
}

Facades\Collection::save($this);

if ($this->isDirty('route')) {
Facades\Entry::updateUris($this);
}

Facades\Collection::save($this);

Blink::forget('collection-handles');
Blink::forget('mounted-collections');
Blink::flushStartingWith("collection-{$this->id()}");
Expand Down

0 comments on commit 395852c

Please sign in to comment.