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