Upgrade to Laravel 13
This commit is contained in:
parent
e8e2bff5e4
commit
9f012b01e4
117 changed files with 1878 additions and 2215 deletions
|
|
@ -38,9 +38,9 @@ class ArticlesController extends Controller
|
|||
|
||||
if ($article->updated_at->year != $year || $article->updated_at->month != $month) {
|
||||
return redirect('/blog/'
|
||||
. $article->updated_at->year
|
||||
. '/' . $article->updated_at->format('m')
|
||||
. '/' . $slug);
|
||||
.$article->updated_at->year
|
||||
.'/'.$article->updated_at->format('m')
|
||||
.'/'.$slug);
|
||||
}
|
||||
|
||||
return view('articles.show', compact('article'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue