+ # if no redaction ID was provided, then this is an unredact
+ # operation.
+ @old_node.redact!(nil)
+ end
+
+ # just return an empty 200 OK for success
+ render :nothing => true
+ end
+
+ private
+
+ def lookup_old_node
+ @old_node = OldNode.where(:node_id => params[:id], :version => params[:version]).first
+ if @old_node.nil?
+ # i want to do this
+ #raise OSM::APINotFoundError.new
+ # but i get errors, so i'm getting very fed up and doing this instead