lib/foreman_tasks/triggers.rb in foreman-tasks-0.1.5 vs lib/foreman_tasks/triggers.rb in foreman-tasks-0.2.0
- old
+ new
@@ -5,10 +5,10 @@
def foreman_tasks
@foreman_tasks ||= ForemanTasks
end
def trigger(action, *args, &block)
- foreman_tasks.dynflow.world.trigger action, *args, &block
+ foreman_tasks.trigger action, *args, &block
end
def trigger_task(async, action, *args, &block)
foreman_tasks.trigger_task(async, action, *args, &block)
end