<h3 dir="auto">Description</h3>
<p dir="auto">The <code class="notranslate">gravatar_enable</code> method configures a gravatar for the user. Since this is business logic let's put it on the model instead of in the controller. This also opens the door to testing this method outside of the request/response lifecycle.</p>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">The existing test coverage in <code class="notranslate">ConfirmationsController</code> continues to pass.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5988'>https://github.com/openstreetmap/openstreetmap-website/pull/5988</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5988/commits/8fe268d7e1eaedc4b7c1028a2043b062b83ffe74" class="commit-link">8fe268d</a>  Move gravatar_enable method to User model</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5988/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5988/files#diff-961c5d7e0310073ca00d502eda2687808102441be660a654cab29645fbcea019">app/controllers/confirmations_controller.rb</a>
    (24)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5988/files#diff-9802ca3c9c4cf89904fd44bc114e35ebdf2c5dd3d5b645491e2b253e1afef29b">app/models/user.rb</a>
    (20)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5988.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5988.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5988.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5988.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5988">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOQHN4NCITC7HBXOQD25FO33AVCNFSM6AAAAAB4SSMU4WVHI2DSMVQWIX3LMV43ASLTON2WKOZTGA2DINBSGIZTOOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLO643EJABMEPBXRTR325FO33A5CNFSM6AAAAAB4SSMU4WWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHLK5RS5M.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5988</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5988",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5988",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>