1
0

Fix target subtreshold listing

Route targets under goal
This commit is contained in:
cryptogopher
2021-03-06 13:00:50 +01:00
parent 09e27eb754
commit 406eabaccc
9 changed files with 27 additions and 15 deletions

View File

@@ -8,6 +8,10 @@ module Concerns::Finders
render_404
end
def find_goal_by_goal_id
find_goal(params[:goal_id])
end
def find_binding_goal_by_project_id
@project = Project.find(params[:project_id])
@goal = @project.goals.binding