Skip to content

Commit 0f3dbc3

Browse files
committed
Update a README.md example for Rails 7.1
1 parent f2464d6 commit 0f3dbc3

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
@@ -291,7 +291,7 @@ class UserSessionsController < ApplicationController
291291
if @user_session.save
292292
redirect_to root_url
293293
else
294-
render :action => :new
294+
render :new, status: 422
295295
end
296296
end
297297

0 commit comments

Comments
 (0)