Sha256: f9db9004613f2e96ccd8014afb504be6cb74519e2589ed7d2f3036e17c1bd379
Contents?: true
Size: 415 Bytes
Versions: 15
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true module Quilt class PerformanceReportController < ActionController::Base include Quilt::Performance::Reportable protect_from_forgery with: :null_session def create process_report render json: { result: 'success' }, status: 200 rescue ActionController::ParameterMissing => error render json: { error: error.message, status: 422 } end end end
Version data entries
15 entries across 15 versions & 1 rubygems