]> git.openstreetmap.org Git - rails.git/blob - app/jobs/trace_destroyer_job.rb
Use resourceful routes for api trace create
[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