<p><b>@gravitystorm</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2248#discussion_r291202255">test/controllers/diary_entries_controller_test.rb</a>:</p>
<pre style='color:#555'>> @@ -85,6 +85,10 @@ def test_routes
       { :path => "/user/username/diary/1/hide", :method => :post },
       { :controller => "diary_entries", :action => "hide", :display_name => "username", :id => "1" }
     )
+    assert_routing(
+      { :path => "/user/username/diary/1/unhide", :method => :post },
+      { :controller => "diary_entries", :action => "unhide", :display_name => "username", :id => "1" }
+    )
</pre>
<p>Good catch</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2248?email_source=notifications&email_token=AAK2OLMWOQQFYO2XY6R3YHLPZELIRA5CNFSM4HTYQBX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2ZLUZA#discussion_r291202255">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLO2JZAX2WCIV35KVEDPZELIRANCNFSM4HTYQBXQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLKURYGC7VN4GBHJMGLPZELIRA5CNFSM4HTYQBX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2ZLUZA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2248?email_source=notifications\u0026email_token=AAK2OLMWOQQFYO2XY6R3YHLPZELIRA5CNFSM4HTYQBX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2ZLUZA#discussion_r291202255",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2248?email_source=notifications\u0026email_token=AAK2OLMWOQQFYO2XY6R3YHLPZELIRA5CNFSM4HTYQBX2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2ZLUZA#discussion_r291202255",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>