1
0

Fix targets#create

This commit is contained in:
cryptogopher
2021-03-07 15:07:45 +01:00
parent 406eabaccc
commit 5b73e9e7fd
11 changed files with 33 additions and 40 deletions

View File

@@ -1,8 +1,8 @@
module TargetsHelper
def action_links(d)
link_to(l(:button_reapply), reapply_project_targets_path(@project, d, @view_params),
link_to(l(:button_reapply), reapply_goal_targets_path(@project, d, @view_params),
{remote: true, class: "icon icon-reload"}) +
link_to(l(:button_edit), edit_project_targets_path(@project, d, @view_params),
link_to(l(:button_edit), edit_goal_targets_path(@project, d, @view_params),
{remote: true, class: "icon icon-edit"}) +
delete_link(target_path(d), {remote: true, data: {}})
end