Sha256: 29ff1de7bf838c5bcf3263fa46d21d7028aa3c9cbb04e7a08d6ad9081c3d076d
Contents?: true
Size: 202 Bytes
Versions: 1
Compression:
Stored size: 202 Bytes
Contents
class BaseController < Sinatra::Base configure do helpers Sinatra::Errorcodes set :raise_errors, false set :show_exceptions, false end error do |e| handle_errorcode(e) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinatra-errorcodes-0.1.2 | example/base.rb |