[openstreetmap/openstreetmap-website] Show deleted diaries and diary comments to admins (#2248)

Andy Allan notifications at github.com
Thu Jun 6 14:11:20 UTC 2019


gravitystorm commented on this pull request.



> @@ -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" }
+    )

Good catch

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2248#discussion_r291202255
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190606/ea09f89b/attachment.html>


More information about the rails-dev mailing list