From f484e7b2adc8a2a77e2028529ee41203f223cdb5 Mon Sep 17 00:00:00 2001 From: Tim Parenti Date: Sat, 6 Apr 2019 10:03:49 -0400 Subject: [PATCH] QoL hotfix: Fix links to individual tasks in task sidebar. `tasks_path(task)` was giving, e.g., `/tasks.3` when instead `task_path(task)` giving `/tasks/3` is desired. --- app/views/tasks/_tasks_sidebar.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/tasks/_tasks_sidebar.html.erb b/app/views/tasks/_tasks_sidebar.html.erb index 37cfbd8c..a6bd8d28 100644 --- a/app/views/tasks/_tasks_sidebar.html.erb +++ b/app/views/tasks/_tasks_sidebar.html.erb @@ -18,7 +18,7 @@ <% @tasks_sidebar.each do |task| %> - <%= link_to task.name, tasks_path(task) %> + <%= link_to task.name, task_path(task) %> <%= time task.due_at%> <% if can?(:update, task) %> <%= link_to t('.complete', :default => t("helpers.links.complete")),