Sha256: e91abacfd833dd799cb5f929cdaede8acea58a38fccc4d9a3715009ffc1d2773

Contents?: true

Size: 247 Bytes

Versions: 67

Compression:

Stored size: 247 Bytes

Contents

class ErrorsController < ApplicationController
  def not_found
    render status: 404
  end

  def internal_server
    render status: 500
  end

  def unprocessable
    render status: 422
  end

  def unacceptable
    render status: 406
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
rails_app_generator-0.2.30 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.29 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.28 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.27 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.26 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.25 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.24 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.23 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.22 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.21 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.20 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.19 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.18 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.17 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.16 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.15 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.14 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.13 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.12 after_templates/addons/honeybadger/app/controllers/errors_controller.rb
rails_app_generator-0.2.11 after_templates/addons/honeybadger/app/controllers/errors_controller.rb