Add /delayed_jobs.json.
Leave out `handler` because it's sensitive.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
class DelayedJobsController < ApplicationController
|
||||
respond_to :html, :xml, :json
|
||||
def index
|
||||
@delayed_jobs = Delayed::Job.order("created_at desc").paginate(params[:page], :limit => params[:limit])
|
||||
respond_with(@delayed_jobs)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user