Sha256: 003c591bae92311b92a414e301723f914dd46faf8646fa2439705c16377676a9

Contents?: true

Size: 228 Bytes

Versions: 94

Compression:

Stored size: 228 Bytes

Contents

class Exceptions < Merb::Controller
  
  # handle NotFound exceptions (404)
  def not_found
    render :format => :html
  end

  # handle NotAcceptable exceptions (406)
  def not_acceptable
    render :format => :html
  end

end

Version data entries

94 entries across 59 versions & 9 rubygems

Version Path
adva-0.3.2 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.3.1 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.3.0 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.2.4 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.2.3 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.2.2 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.2.1 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.2.0 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.1.4 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.1.3 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.1.2 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.1.1 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.1.0 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
adva-0.0.1 test/webrat/spec/integration/merb/app/controllers/exceptions.rb
antage-merb-recaptcha-1.0.0 spec/fixture/app/controllers/exceptions.rb
antage-merb-recaptcha-1.0.1 spec/fixture/app/controllers/exceptions.rb
antage-merb-recaptcha-1.0.2 spec/fixture/app/controllers/exceptions.rb
antage-merb-recaptcha-1.0.3 spec/fixture/app/controllers/exceptions.rb
lastobelus-merb-recaptcha-1.0.3 spec/fixture/app/controllers/exceptions.rb
sickill-merb-recaptcha-1.0.3 spec/fixture/app/controllers/exceptions.rb