From b483ff56c663e2d346df8f1f243100007c2c93c9 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 31 Jan 2022 14:28:00 -0500 Subject: tidy up, add git hash to src link --- app/controllers/machines_controller.rb | 2 +- app/controllers/players_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/controllers') diff --git a/app/controllers/machines_controller.rb b/app/controllers/machines_controller.rb index 33dcd3b..9d47832 100644 --- a/app/controllers/machines_controller.rb +++ b/app/controllers/machines_controller.rb @@ -52,7 +52,7 @@ class MachinesController < ApplicationController @machine.destroy respond_to do |format| - format.html { redirect_to machines_url, notice: 'Machine was successfully destroyed.' } + format.html { redirect_to machines_url, notice: 'Machine was successfully removed.' } format.json { head :no_content } end end diff --git a/app/controllers/players_controller.rb b/app/controllers/players_controller.rb index cebe2a1..4e1195d 100644 --- a/app/controllers/players_controller.rb +++ b/app/controllers/players_controller.rb @@ -49,7 +49,7 @@ class PlayersController < ApplicationController @player.destroy respond_to do |format| - format.html { redirect_to players_url, notice: 'Player was successfully destroyed.' } + format.html { redirect_to players_url, notice: 'Player was successfully removed.' } format.json { head :no_content } end end -- cgit 1.4.1