summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorMarius Peter <dev@marius-peter.com>2025-09-08 21:43:25 +0200
committerMarius Peter <dev@marius-peter.com>2025-09-08 21:43:25 +0200
commit73283f2f5153c77f72b6a29e98f173628f5e1057 (patch)
treeaf0098a91115852449c51a2929d471acf3a9f568 /app/controllers
parent7116826b854188604e21e2a613ac6672b6fd81f3 (diff)
Add db seed for default Target.HEADmaster
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/targets_controller.rb2
1 files changed, 1 insertions, 1 deletions
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)
Copyright 2019--2025 Marius PETER