# memoir & biblatex: How to control alignment of bibliography entry in table of contents?

By default, the bibliography entry produced by biblatex in the table of contents of my memoir document is aligned with the chapter title.

MWE:

\documentclass{memoir}

\usepackage{filecontents}
\usepackage{biblatex-chicago}

\begin{filecontents}{refs.bib}
@book{somebook,
author={some author},
title={some title}
}
\end{filecontents}

\begin{document}

\tableofcontents*

\begin{refsection}
\chapter{A chapter}
\section{A section}
\textcite{somebook}
\end{refsection}

\end{document}


This gives:

How can I get the bibliography entry aligned with the title of the section headings? That is, how can I get the "R" in "References" aligned with the "A" in "A section"?

This (added to the preamble) ought to do it

\makeatletter
\section*{#1}%
\if@twoside\markright{\abx@MakeMarkcase{#1}}\fi
\ifmemoirbibintoc
{\phantomsection

found in biblatex.def. I added the \numberline{} part.
Note that in biblatex.def there are two branches for memoir, depending on the article option is used or not. I just searched for \addcontentsline as that is the standard method for writing to the TOC.