     conn
     |> assign(:contest, contest)
     |> assign(:performance, performance)
-    |> add_contest_breadcrumb(contest)
-    |> add_performances_breadcrumb(contest)
-    |> add_performance_breadcrumb(contest, performance)
+    |> add_breadcrumbs(contest, performance)
     |> render("show.html")
   end
 


  # Private helpers

  def add_performance_breadcrumb(conn, %Contest{} = contest, %Performance{} = performance) do
    add_breadcrumb(conn,
      name: performance.edit_code,
      path: internal_contest_performance_path(conn, :show, contest, performance)
    )
  end
end

    conn
    |> assign(:contest, contest)
    |> assign(:performances, performances)
    |> add_breadcrumbs(contest)
    |> render("index.html")
  end

