Sha256: dc3e283e719705647aa62001da92b6a79a32c1ac4048ad551f648820551712c0
Contents?: true
Size: 213 Bytes
Versions: 8
Compression:
Stored size: 213 Bytes
Contents
# frozen_string_literal: true class C::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
8 entries across 8 versions & 1 rubygems