]> git.openstreetmap.org Git - rails.git/blobdiff - lib/not_redactable.rb
Merge remote-tracking branch 'upstream/pull/1809'
[rails.git] / lib / not_redactable.rb
index fb945612ab5b44b859910474bca692346e2afdd7..6a57732963989841c89be951c60d941c52e1aed6 100644 (file)
@@ -6,6 +6,6 @@ module NotRedactable
   end
 
   def redact!(_r)
-    fail OSM::APICannotRedactError.new
+    raise OSM::APICannotRedactError
   end
 end