Add Goals #destroy placeholder
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user