Skip to content

Commit 5134ad0

Browse files
Update README.md
1 parent 1549713 commit 5134ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class PostController extends Controller
184184

185185
if ($request->searchTerm) {
186186
$constraints = $post; // not necessary but for better readability
187-
$post = Department::search($request->searchTerm)->constrain($constraints);
187+
$post = Post::search($request->searchTerm)->constrain($constraints);
188188
}
189189

190190
$post->where('deleted', false);

0 commit comments

Comments
 (0)