Sha256: 3b9b3026bf3683570b9f11374fb94a99f0d16a9bf64704e66354b1bcbe7750cf
Contents?: true
Size: 309 Bytes
Versions: 12
Compression:
Stored size: 309 Bytes
Contents
class TryApi::ApplicationController < ActionController::Base rescue_from Exception do |exception| @message = exception.message begin render template: 'try_api/pages/config_file_not_found' rescue Exception => e render json: {error: exception.message}, status: 422 end end end
Version data entries
12 entries across 12 versions & 1 rubygems