12 lines
242 B
Ruby
12 lines
242 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ExceptionsController < ApplicationController
|
|
def index
|
|
@pagy, @exceptions = pagy(ExceptionLog.order(id: :desc), items: 25)
|
|
end
|
|
|
|
def show
|
|
@exception = ExceptionLog.find(params[:id])
|
|
end
|
|
end
|