Sha256: 0893bf8200a569a3b2e1efb3506131cbb2144da17c39a910763892bce960e48a

Contents?: true

Size: 227 Bytes

Versions: 60

Compression:

Stored size: 227 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

60 entries across 60 versions & 23 rubygems

Version Path
davidtrogers-webrat-0.4.4.2 spec/integration/merb/app/controllers/exceptions.rb
diabolo-webrat-0.4.4.1 spec/integration/merb/app/controllers/exceptions.rb
diabolo-webrat-0.4.4.2 spec/integration/merb/app/controllers/exceptions.rb
diabolo-webrat-0.4.4 spec/integration/merb/app/controllers/exceptions.rb
diabolo-webrat-0.5.1 spec/integration/merb/app/controllers/exceptions.rb
dstrelau-webrat-0.5.1 spec/integration/merb/app/controllers/exceptions.rb
emipair-webrat-0.0.1 spec/integration/merb/app/controllers/exceptions.rb
hardbap-webrat-0.5.1 spec/integration/merb/app/controllers/exceptions.rb
hardbap-webrat-0.5.2 spec/integration/merb/app/controllers/exceptions.rb
raldred-webrat-0.4.4.2 spec/integration/merb/app/controllers/exceptions.rb
sr-webrat-0.4.4.1 spec/integration/merb/app/controllers/exceptions.rb
winton-sum-0.1.0 vendor/webrat/spec/integration/merb/app/controllers/exceptions.rb
winton-sum-0.1.1 vendor/webrat/spec/integration/merb/app/controllers/exceptions.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/webrat-0.7.3/spec/integration/merb/app/controllers/exceptions.rb
indirect-webrat-0.7.5 spec/integration/merb/app/controllers/exceptions.rb
indirect-webrat-0.7.4 spec/integration/merb/app/controllers/exceptions.rb
webrat-0.7.3 spec/integration/merb/app/controllers/exceptions.rb
jbd-webrat-0.7.2.rails3 spec/integration/merb/app/controllers/exceptions.rb
webrat-0.7.2 spec/integration/merb/app/controllers/exceptions.rb
webrat-0.7.2.beta.2 spec/integration/merb/app/controllers/exceptions.rb