Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit c410ebe

Browse files
committed
Fixing wrong variable in sample code. Closes #75
1 parent 957c3a3 commit c410ebe

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
@@ -81,7 +81,7 @@ Route::post('register', function() {
8181

8282
return Redirect::to('/')->with('message', 'Thanks for registering!');
8383
} else {
84-
return Redirect::to('/')->withErrors($v->getMessages());
84+
return Redirect::to('/')->withErrors($validator->getMessages());
8585
}
8686
}
8787
);

0 commit comments

Comments
 (0)