Sha256: 8116bf54828525876c47d84b80131853d88cdce4d3831d4f7121817da644ce5f

Contents?: true

Size: 246 Bytes

Versions: 12

Compression:

Stored size: 246 Bytes

Contents

# encoding: utf-8

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

12 entries across 6 versions & 1 rubygems

Version Path
rango-0.2.3 benchmarks/stubs/merb-core/app/controllers/exceptions.rb
rango-0.2.3 benchmarks/stubs/merb-app/app/controllers/exceptions.rb
rango-0.2.1 benchmarks/stubs/merb-core/app/controllers/exceptions.rb
rango-0.2.1 benchmarks/stubs/merb-app/app/controllers/exceptions.rb
rango-0.2.1.pre benchmarks/stubs/merb-app/app/controllers/exceptions.rb
rango-0.2.1.pre benchmarks/stubs/merb-core/app/controllers/exceptions.rb
rango-0.0.6 benchmarks/stubs/merb-app/app/controllers/exceptions.rb
rango-0.0.6 benchmarks/stubs/merb-core/app/controllers/exceptions.rb
rango-0.1.pre benchmarks/stubs/merb-app/app/controllers/exceptions.rb
rango-0.1.pre benchmarks/stubs/merb-core/app/controllers/exceptions.rb
rango-0.0.4 benchmarks/stubs/merb-core/app/controllers/exceptions.rb
rango-0.0.4 benchmarks/stubs/merb-app/app/controllers/exceptions.rb