Class: Sis::Core::UtilsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/sis/core/utils_controller.rb

Instance Attribute Summary

Attributes inherited from ApplicationController

#current_user

Instance Method Summary collapse

Instance Method Details

#filterObject



7
8
9
10
# File 'app/controllers/sis/core/utils_controller.rb', line 7

def filter
  result = ApplicationRecord.serialize(@service.filter_record(params))
  render json: { success: true, data: result }
end