app/models/foreman_tasks/lock.rb in foreman-tasks-0.17.3 vs app/models/foreman_tasks/lock.rb in foreman-tasks-0.17.4

- old
+ new

@@ -17,10 +17,10 @@ | #{_('Please inspect their state, fix their errors and resume them.')} | | #{_('Required lock: %s') % required_lock.name} | #{_('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")