Skip to content

Commit a7f33aa

Browse files
authored
Merge pull request #284 from daryledesilva/patch-1
Update README.md
2 parents 8b50415 + 5134ad0 commit a7f33aa

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
@@ -192,7 +192,7 @@ class PostController extends Controller
192192

193193
if ($request->searchTerm) {
194194
$constraints = $post; // not necessary but for better readability
195-
$post = Department::search($request->searchTerm)->constrain($constraints);
195+
$post = Post::search($request->searchTerm)->constrain($constraints);
196196
}
197197

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

0 commit comments

Comments
 (0)