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 ae106db commit 2f3160aCopy full SHA for 2f3160a
app/Http/Controllers/Articles/ArticlesController.php
@@ -32,7 +32,7 @@ public function show(Article $article)
32
$article->isPublished() || (Auth::check() && $article->isAuthoredBy(Auth::user())),
33
404
34
);
35
-
+
36
return view('articles.show', [
37
'article' => $article,
38
]);
tests/Feature/ArticleTest.php
@@ -326,7 +326,7 @@ public function custom_canonical_urls_are_rendered()
326
factory(Article::class)->create([
327
'slug' => 'my-first-article',
328
'original_url' => 'https://joedixon.co.uk/my-first-article',
329
- 'published_at' => now()
+ 'published_at' => now(),
330
331
332
$this->get('/articles/my-first-article')
0 commit comments