-path = []
-if @document_set && @document_set.title.present? && (@work || @article)
  -path.push(link_to @document_set.title, document_set_path(@document_set.owner, @document_set))
-elsif @collection && @collection.title.present? && (@work || @article)
  -path.push(link_to @collection.title, collection_path(@collection.owner, @collection))

-if @work && @work.title.present? && (@page || @article)
  -path.push(link_to @work.title, collection_read_work_path(@collection.owner, @collection, @work))

-if path.present? && @quality_sampling.nil?
  -unless (@collection && @work && @page &&current_page?(collection_oneoff_review_page_path(@collection.owner, @collection, @page))) || (@work && @page && @user && current_page?(collection_user_review_page_path))
    ul.breadcrumbs
      -path.each do |item|
        li ==item


  
-path = []
-if @document_set && @document_set.title.present? && (@work || @article)
  -path.push(link_to @document_set.title, document_set_path(@document_set.owner, @document_set))
-elsif @collection && @collection.title.present? && (@work || @article)
  -path.push(link_to @collection.title, collection_path(@collection.owner, @collection))

-if @work && @work.title.present? && (@page || @article)
  -path.push(link_to @work.title, collection_read_work_path(@collection.owner, @collection, @work))

-if path.present? && @quality_sampling.nil?
  -unless (controller_name == 'transcribe' && @collection && @work && @page && current_page?(collection_oneoff_review_page_path(@collection.owner, @collection, @page))) || (@work && @page && @user && current_page?(collection_user_review_page_path))
    ul.breadcrumbs
      -path.each do |item|
        li ==item


  
Fix beadcrumbs for broken tests (was 71)
Fix beadcrumbs for broken tests (was 71)

benwbrum/fromthepage,benwbrum/fromthepage,benwbrum/fromthepage,benwbrum/fromthepage