You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: breadcrumbs_for_collections.rb
    path of file: ./repos/hyrax/app/controllers/concerns/hyrax
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
module Hyrax
  module BreadcrumbsForCollectio
    
    def add_breadcrumb_for_action
      case action_name
      when 'edit'
        add_breadcrumb I18n.t("hyrax.collection.edit_view"), collection_path(params["id"]), mark_active_action
      when 'show'
        add_breadcrumb presenter.to_s, polymorphic_path(presenter), mark_active_action
      end