Skip to content

Commit f511cd3

Browse files
authored
Merge pull request rails#53596 from viralpraxis/fix-action-controller-strong-parameters-redundant-comment-in-docs
[ci skip] Fix `action_controller/metal/strong_parameters.rb` redundant comment in docs
2 parents 1dd82ab + 0b1f25f commit f511cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/lib/action_controller/metal/strong_parameters.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ def permit!
513513
# It is recommended to use `expect` instead:
514514
#
515515
# def person_params
516-
# # params.expect(person: :name).require(:name)
516+
# params.expect(person: :name).require(:name)
517517
# end
518518
#
519519
def require(key)

0 commit comments

Comments
 (0)