mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
minor correction to the AMo mass-assignment security docs
This commit is contained in:
parent
f3b9d3aba8
commit
bf40c729c6
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ module ActiveModel
|
|||
#
|
||||
# protected
|
||||
#
|
||||
# def scope
|
||||
# def account_params
|
||||
# scope = admin ? :admin : :default
|
||||
# sanitize_for_mass_assignment(params[:account], scope)
|
||||
# end
|
||||
|
|
Loading…
Reference in a new issue