Merge branch 'main' of gitea.neatcn.com:gouki/laralog
Build and Deploy / verify (push) Successful in 34s
Build and Deploy / deploy (push) Successful in 40s

Keep media-library covers while adopting sablog /show-{id}.shtml canonical URLs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
gouki
2026-09-16 19:06:42 +00:00
co-authored by Cursor
23 changed files with 116 additions and 73 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ class Post extends Model implements HasMedia
public function getUrlAttribute(): string
{
return route('posts.show', $this->slug ?? $this->id);
return route('posts.show', $this->id);
}
/**