Skip to content

Commit

Permalink
Merge pull request #41122 from pdcribeiro/fix-getting-started-guide
Browse files Browse the repository at this point in the history
Fix article_params method

[ci skip]
  • Loading branch information
kamipo committed Jan 17, 2021
1 parent f10dfa7 commit fc0d3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,7 @@ We also have to permit the `:status` key as part of the strong parameter, in `ap
```ruby
private
def article_params
params.require(:comment).permit(:commenter, :body, :status)
params.require(:article).permit(:title, :body, :status)
end
```

Expand Down

0 comments on commit fc0d3c4

Please sign in to comment.