Sha256: 27080e281846f60dcc501c35c7fc72e43a91c3f8cf1af43bdea620af85e0772f

Contents?: true

Size: 278 Bytes

Versions: 4

Compression:

Stored size: 278 Bytes

Contents

module RailsLiveDashboard
  class ExceptionsController < ApplicationController
    def index
      @exceptions = Exception
        .where(should_show: true)
        .order(created_at: :desc)
    end

    def show
      @exception = Exception.find(params[:id])
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_live_dashboard-0.2.0 app/controllers/rails_live_dashboard/exceptions_controller.rb
rails_live_dashboard-0.1.2 app/controllers/rails_live_dashboard/exceptions_controller.rb
rails_live_dashboard-0.1.1 app/controllers/rails_live_dashboard/exceptions_controller.rb
rails_live_dashboard-0.1.0 app/controllers/rails_live_dashboard/exceptions_controller.rb