Skip to content

Commit

Permalink
Remove #permitted attr accessor from Parameters
Browse files Browse the repository at this point in the history
There is no need to expose this accessor since we already have the query
method #permitted? that should handle this purpose.
  • Loading branch information
carlosantoniodasilva committed Nov 3, 2012
1 parent fa0aebf commit 51b9014
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -65,7 +65,6 @@ def initialize(param) # :nodoc:
# params["key"] # => "value"
class Parameters < ActiveSupport::HashWithIndifferentAccess
cattr_accessor :permit_all_parameters, instance_accessor: false
attr_accessor :permitted # :nodoc:

# Returns a new instance of <tt>ActionController::Parameters</tt>.
# Also, sets the +permitted+ attribute to the default value of
Expand Down

0 comments on commit 51b9014

Please sign in to comment.