]> git.openstreetmap.org Git - rails.git/blob - app/jobs/trace_destroyer_job.rb
Fix warning on unescaped hyphen in regexp
[rails.git] / app / jobs / trace_destroyer_job.rb
1 class TraceDestroyerJob < ApplicationJob
2   queue_as :traces
3
4   def perform(trace)
5     trace.destroy
6   end
7 end