]> git.openstreetmap.org Git - rails.git/blob - lib/not_redactable.rb
Move attach_project_logo to be its own before_action filter, as suggested
[rails.git] / lib / not_redactable.rb
1 require "osm"
2
3 module NotRedactable
4   def redacted?
5     false
6   end
7
8   def redact!(_r)
9     raise OSM::APICannotRedactError.new
10   end
11 end