Codeminer42/Punchclock

View on GitHub
app/controllers/new_admin/punches_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module NewAdmin
  class PunchesController < NewAdminController
    load_and_authorize_resource

    def show
      @punch = Punch.find(params[:id]).decorate
    end
  end
end