mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-19 06:15:44 -04:00
Fix links further
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user