Skip to content

Commit ea79bd0

Browse files
committed
fix controller code
1 parent a5f8a64 commit ea79bd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/fundamentals/read-operations.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ a text index on the ``plot`` field.
237237
{
238238
public function show()
239239
{
240-
$movies = Movie::where('$text', ['$search' => "\"" . 'love story' . "\""])
240+
$movies = Movie::where('$text', ['$search' => '"love story"'])
241241
->get();
242242

243243
return view('browse_movies', [

0 commit comments

Comments
 (0)