lib/rasti/app.rb in rasti-app-2.0.0 vs lib/rasti/app.rb in rasti-app-2.1.0
- old
+ new
@@ -70,10 +70,11 @@
end
def enqueue(name, permission, params={})
options = {
queue: params.delete(:queue),
- job_id: params.delete(:job_id)
+ job_id: params.delete(:job_id),
+ job_wrapper: params.delete(:job_wrapper)
}
form = self.class.facade.build_form name, params
authorize! permission, form
result = self.class.facade.enqueue name, session, form, options
\ No newline at end of file