app/controllers/exception_track/logs_controller.rb in exception-track-1.1.0 vs app/controllers/exception_track/logs_controller.rb in exception-track-1.2.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module ExceptionTrack
class LogsController < ActionController::Base
layout "exception-track/application"
- before_action :set_log, only: %i[show destroy]
+ before_action :set_log, only: :show
# GET /exception_logs
def index
@logs = Log.order("id desc").page(params[:page]).per(15)
end