Adding route and spec for record_math controller method.