Commit e74e4b88 authored by Savas Vedova's avatar Savas Vedova

Merge branch 'better-errors-editor-usage' into 'master'

Fix BetterErrors.editor usage in Sherlock templates

See merge request gitlab-org/gitlab!69851
parents ec5c859d 4748d764
......@@ -8,7 +8,7 @@
%li
%strong
- if defined?(BetterErrors)
= link_to(location.path, BetterErrors.editor[location.path, location.line])
= link_to(location.path, BetterErrors.editor.url(location.path, location.line))
- else
= location.path
%small.light
......
......@@ -16,7 +16,7 @@
#{t('sherlock.origin')}:
%strong
- if defined?(BetterErrors)
= link_to(frame.path, BetterErrors.editor[frame.path, frame.line])
= link_to(frame.path, BetterErrors.editor.url(frame.path, frame.line))
- else
= frame.path
%small.light
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment