From 73283f2f5153c77f72b6a29e98f173628f5e1057 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Mon, 8 Sep 2025 21:43:25 +0200 Subject: Add db seed for default Target. --- app/controllers/targets_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/targets_controller.rb b/app/controllers/targets_controller.rb index 60d3523..a11ddd7 100644 --- a/app/controllers/targets_controller.rb +++ b/app/controllers/targets_controller.rb @@ -1,5 +1,5 @@ class TargetsController < ApplicationController - before_action :set_target, only: %i[show edit update] + before_action :set_target, only: %i[show edit update destroy] def index @targets = Target.order(:name) -- cgit v1.2.3