1
0

Add Goals #destroy placeholder

This commit is contained in:
cryptogopher
2021-05-06 23:53:02 +02:00
parent 74b4dabf86
commit 40cce31bff
2 changed files with 10 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ class GoalsController < ApplicationController
include Concerns::Finders
before_action :find_project_by_project_id, only: [:index, :new, :create]
before_action :find_goal, only: [:edit, :update]
before_action :find_goal, only: [:edit, :update, :destroy]
before_action :authorize
def index
@@ -41,6 +41,10 @@ class GoalsController < ApplicationController
end
end
def destroy
# TODO
end
private
def goal_params