diff options
Diffstat (limited to 'app/views/sherlock/queries')
-rw-r--r-- | app/views/sherlock/queries/_backtrace.html.haml | 2 | ||||
-rw-r--r-- | app/views/sherlock/queries/_general.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/sherlock/queries/_backtrace.html.haml b/app/views/sherlock/queries/_backtrace.html.haml index ff5a6b73e47..425113ba325 100644 --- a/app/views/sherlock/queries/_backtrace.html.haml +++ b/app/views/sherlock/queries/_backtrace.html.haml @@ -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 diff --git a/app/views/sherlock/queries/_general.html.haml b/app/views/sherlock/queries/_general.html.haml index cd810ae10ad..a16314213c4 100644 --- a/app/views/sherlock/queries/_general.html.haml +++ b/app/views/sherlock/queries/_general.html.haml @@ -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 |