Sha256: ce21113b33e608d356dc53f6d8257d026d71612c3c4ffee0b3bdcd9fecced191

Contents?: true

Size: 186 Bytes

Versions: 3

Compression:

Stored size: 186 Bytes

Contents

# frozen_string_literal: true

class ErrorsController < ApplicationController
  def not_found
    render(status: 404)
  end

  def internal_server_error
    render(status: 500)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
seo_optimizer-0.1.2 lib/generators/seo_optimizer/errors_pages/templates/errors_controller_template.erb
seo_optimizer-0.1.1 lib/generators/seo_optimizer/errors_pages/templates/errors_controller_template.erb
seo_optimizer-0.1.0 lib/generators/seo_optimizer/errors_pages/templates/errors_controller_template.erb