]> git.openstreetmap.org Git - rails.git/blobdiff - lib/not_redactable.rb
Refactor to show the Issues link based on the calculated permissions
[rails.git] / lib / not_redactable.rb
index 75ff331768310020a54dae242c088673524a380e..6a57732963989841c89be951c60d941c52e1aed6 100644 (file)
@@ -1,4 +1,4 @@
-require 'osm'
+require "osm"
 
 module NotRedactable
   def redacted?
@@ -6,6 +6,6 @@ module NotRedactable
   end
 
   def redact!(_r)
-    fail OSM::APICannotRedactError.new
+    raise OSM::APICannotRedactError
   end
 end