]> git.openstreetmap.org Git - rails.git/blob - app/jobs/trace_destroyer_job.rb
application.js: Call updateHeader when turbo:render completed
[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