diff --git a/app/views/jobs/_job_tr.html.erb b/app/views/jobs/_job_tr.html.erb index 0968bb4..2e23249 100644 --- a/app/views/jobs/_job_tr.html.erb +++ b/app/views/jobs/_job_tr.html.erb @@ -16,9 +16,9 @@ <%= job.status %> - <%= link_to "edit", edit_job_url(job), class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %> + <%= link_to "edit", edit_job_path(job), class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %> <% if job.able_to_cancel? %> - <%= button_to "cancel", cancel_job_url(job), method: :patch, class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %> + <%= button_to "cancel", cancel_job_path(job), method: :patch, class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %> <% end %>