From ddd525ca1d538cd179ab2b3325e76f11ea46d945 Mon Sep 17 00:00:00 2001 From: NoRePercussions Date: Mon, 8 Apr 2024 12:13:51 -0400 Subject: [PATCH] Correct Message for Undo-Checkin This function undoes a tool check-in, but the message says it undoes a checkout. This fixes the message. --- app/controllers/checkouts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/checkouts_controller.rb b/app/controllers/checkouts_controller.rb index 976a9794..f8ce0f6b 100644 --- a/app/controllers/checkouts_controller.rb +++ b/app/controllers/checkouts_controller.rb @@ -128,7 +128,7 @@ def uncheckin checkout.checked_in_at = nil respond_to do |format| if checkout.save - format.html { redirect_to tool_path(checkout.tool), notice: 'Checkout was successfully undone' } + format.html { redirect_to tool_path(checkout.tool), notice: 'Checkin was successfully undone' } else format.html { redirect_to tool_path(checkout.tool), notice: 'Error' } end