]> git.openstreetmap.org Git - rails.git/blob - app/jobs/trace_destroyer_job.rb
Move generation of gpx_file XML from model to builder
[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