def link_to_provider_page(provider)
      return link_to(provider_name(provider), providers_path) unless provider
      return link_to provider_name(provider),
              provider_path(provider.id, set_session: provider.id)
    end
def link_to_provider_page(provider)
      return link_to(provider_name(provider), providers_path) unless provider
      return link_to provider_name(provider),
              provider_path(provider.id, set_session: provider.id)
    end
Link to the ProviderController's :index or :show route, using the given
 provider id in the case of :show.
 @param provider [String, nil]