Method: ParamProtected::ControllerModifications::ClassMethods#param_protected

Defined in:
lib/param_protected/controller_modifications.rb

#param_protected(params, actions = nil) ⇒ Object



18
19
20
# File 'lib/param_protected/controller_modifications.rb', line 18

def param_protected(params, actions = nil)
  _protector.declare_protection(params, actions, BLACKLIST)
end