def update
      return render json: { errors: { message: 'Dashboard template not found' } }, status: :not_found unless dashboard_template

      # Abort on failure
      unless dashboard_template.update(dashboard_template_params)
        return render json: { errors: dashboard_template.errors }, status: :bad_request
      end

      MnoEnterprise::EventLogger.info('dashboard_template_update', current_user.id, 'Dashboard Template Update', dashboard_template)
      render 'show'
    end
def update
      return render json: { errors: { message: 'Dashboard template not found' } }, status: :not_found unless dashboard_template

      # Abort on failure
      unless dashboard_template.update(dashboard_template_params)
        return render json: { errors: dashboard_template.errors }, status: :bad_request
      end

      MnoEnterprise::EventLogger.info('dashboard_template_update', current_user.id, 'Dashboard Template Update', dashboard_template)
      render 'show'
    end
PATCH/PUT /mnoe/jpi/v1/admin/impac/dashboard_templates/1