Commit 4748d764 authored by Furkan Ayhan's avatar Furkan Ayhan

Fix BetterErrors.editor usage in Sherlock templates

The usage was changed in BetterErrors v2.9.0.
parent 563d3dd3
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
%li %li
%strong %strong
- if defined?(BetterErrors) - 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 - else
= location.path = location.path
%small.light %small.light
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#{t('sherlock.origin')}: #{t('sherlock.origin')}:
%strong %strong
- if defined?(BetterErrors) - 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 - else
= frame.path = frame.path
%small.light %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