Skip to content

Commit d7455d2

Browse files
github usernamestevepolitodesign
authored andcommitted
Spelling and proofing.
- Change 'Singed out.' to 'Signed out.'. - Removed the extra 'add' in 'rails g migration add add_session_token_to_users...'
1 parent c3ce1af commit d7455d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ class SessionsController < ApplicationController
524524

525525
def destroy
526526
logout
527-
redirect_to root_path, notice: "Singed out."
527+
redirect_to root_path, notice: "Signed out."
528528
end
529529

530530
def new
@@ -1326,7 +1326,7 @@ You can read more about session replay attacks [here](https://binarysolo.chapter
13261326
1. Add a session_token column to users table.
13271327

13281328
```bash
1329-
rails g migration add add_session_token_to_users session_token:string
1329+
rails g migration add_session_token_to_users session_token:string
13301330
```
13311331

13321332
2. Update migration.

app/controllers/sessions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def create
2222
def destroy
2323
forget(current_user)
2424
logout
25-
redirect_to root_path, notice: "Singed out."
25+
redirect_to root_path, notice: "Signed out."
2626
end
2727

2828
def new

0 commit comments

Comments
 (0)