Module: Extensions::Materials::ActionController::Base

Defined in:
lib/extensions/materials/action_controller/base.rb

Instance Method Summary collapse

Instance Method Details

#folder_paramsHash

Permit attachments params in strong parameters.

Returns:

  • (Hash)

    The params required by the framework.


5
6
7
# File 'lib/extensions/materials/action_controller/base.rb', line 5

def folder_params
  { files_attributes: [] }
end