From 60390fcc068cbbb7f12995aa5386bcf0b5681e40 Mon Sep 17 00:00:00 2001 From: Daniel O'Connor Date: Tue, 28 Apr 2026 04:03:27 +0000 Subject: [PATCH] Fix links further --- app/views/activities/index.html.haml | 2 +- app/views/harvests/index.html.haml | 2 +- app/views/plantings/index.html.haml | 2 +- app/views/seeds/index.html.haml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/activities/index.html.haml b/app/views/activities/index.html.haml index 9326d94bf..8addf9e35 100644 --- a/app/views/activities/index.html.haml +++ b/app/views/activities/index.html.haml @@ -3,7 +3,7 @@ - content_for :breadcrumbs do - if @owner %li.breadcrumb-item= link_to 'Activities', activities_path - %li.breadcrumb-item.active= link_to "#{@owner}'s activities", activities_path(@owner) + %li.breadcrumb-item.active= link_to "#{@owner}'s activities", member_activities_path(@owner) - else %li.breadcrumb-item.active= link_to 'Activities', activities_path diff --git a/app/views/harvests/index.html.haml b/app/views/harvests/index.html.haml index 16dc966d2..7c281e08b 100644 --- a/app/views/harvests/index.html.haml +++ b/app/views/harvests/index.html.haml @@ -4,7 +4,7 @@ - content_for :breadcrumbs do - if @owner %li.breadcrumb-item= link_to 'Harvests', harvests_path - %li.breadcrumb-item.active= link_to "#{@owner}'s harvests", harvests_path(@owner) + %li.breadcrumb-item.active= link_to "#{@owner}'s harvests", member_harvests_path(@owner) - else %li.breadcrumb-item.active= link_to "Harvests", harvests_path .row diff --git a/app/views/plantings/index.html.haml b/app/views/plantings/index.html.haml index 17b7c627b..025d0ac09 100644 --- a/app/views/plantings/index.html.haml +++ b/app/views/plantings/index.html.haml @@ -4,7 +4,7 @@ - content_for :breadcrumbs do - if @owner %li.breadcrumb-item= link_to 'Plantings', plantings_path - %li.breadcrumb-item.active= link_to "#{@owner}'s plantings", plantings_path(@owner) + %li.breadcrumb-item.active= link_to "#{@owner}'s plantings", member_plantings_path(@owner) - else %li.breadcrumb-item.active= link_to 'Plantings', plantings_path diff --git a/app/views/seeds/index.html.haml b/app/views/seeds/index.html.haml index 85f1a15fe..b898fb735 100644 --- a/app/views/seeds/index.html.haml +++ b/app/views/seeds/index.html.haml @@ -1,7 +1,7 @@ - content_for :breadcrumbs do - if @owner %li.breadcrumb-item= link_to 'Seeds', seeds_path - %li.breadcrumb-item.active= link_to "#{@owner}'s seeds", seeds_path(@owner) + %li.breadcrumb-item.active= link_to "#{@owner}'s seeds", member_seeds_path(@owner) - else %li.breadcrumb-item.active= link_to 'Seeds', seeds_path