app/models/foreman_tasks/lock.rb in foreman-tasks-5.3.0 vs app/models/foreman_tasks/lock.rb in foreman-tasks-6.0.0

- old
+ new

@@ -7,10 +7,10 @@ | #{_('Required lock is already taken by other running tasks.')} | #{_('Please inspect their state, fix their errors and resume them.')} | | #{_('Conflicts with tasks:')} HEADER - url_helpers = Rails.application.routes.url_helpers + url_helpers = ::Rails.application.routes.url_helpers conflicting_tasks = conflicting_locks .map(&:task) .uniq .map { |task| "- #{Setting['foreman_url'] + url_helpers.foreman_tasks_task_path(task)}" } .join("\n")