]> git.openstreetmap.org Git - rails.git/blobdiff - lib/not_redactable.rb
Patch leaflet-locationfilter for leaflet 1.x support
[rails.git] / lib / not_redactable.rb
index fb945612ab5b44b859910474bca692346e2afdd7..7fe119fea42d33b238edcc63c6260323dc6a87f2 100644 (file)
@@ -6,6 +6,6 @@ module NotRedactable
   end
 
   def redact!(_r)
-    fail OSM::APICannotRedactError.new
+    raise OSM::APICannotRedactError.new
   end
 end