Sha256: 7f2d18d6641277a06ce1e7d740784412dceeaf7dd6ee3f9de23039b937581565
Contents?: true
Size: 180 Bytes
Versions: 4
Compression:
Stored size: 180 Bytes
Contents
class ErrorsController < ApplicationController def show render status_code.to_s, status: status_code end protected def status_code params[:code] || 500 end end
Version data entries
4 entries across 4 versions & 1 rubygems