Websites/app/controllers/admin/exceptions_controller.rb

14 lines
275 B
Ruby
Raw Normal View History

2024-08-06 10:57:00 +00:00
# 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