ActionView::Template::Error: arguments passed to url_for can't be handled. Please require routes or provide your own implement...

https://sentry.gitlab.net/gitlab/gitlabcom/issues/711771/

ArgumentError: arguments passed to url_for can't be handled. Please require routes or provide your own implementation
  delegate.rb:85:in `call'
    ::Kernel.instance_method(m).bind(self).(*args, &block)
  delegate.rb:85:in `method_missing'
    ::Kernel.instance_method(m).bind(self).(*args, &block)
  action_view/helpers/url_helper.rb:38:in `url_for'
    raise ArgumentError, "arguments passed to url_for can't be handled. Please require " +
  action_view/helpers/url_helper.rb:196:in `link_to'
    url = url_for(options)
  ci/pipeline_presenter.rb:68:in `link_to_merge_request_source_branch'
    link_to(merge_request_presenter.source_branch,
...
(190 additional frame(s) were not displayed)

ActionView::Template::Error: arguments passed to url_for can't be handled. Please require routes or provide your own implementation

ActionView::Template::Error: arguments passed to url_for can't be handled. Please require routes or provide your own implementation