Skip to content

Commit 0b1f25f

Browse files
committed
[ci skip] Fix ActionController::StrongParameters redundant comment in docs
1 parent 1dd82ab commit 0b1f25f

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)