summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/redirects_for_missing_path_on_tree.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns/redirects_for_missing_path_on_tree.rb')
-rw-r--r--app/controllers/concerns/redirects_for_missing_path_on_tree.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/redirects_for_missing_path_on_tree.rb b/app/controllers/concerns/redirects_for_missing_path_on_tree.rb
index 085afbf3975..92574dfade9 100644
--- a/app/controllers/concerns/redirects_for_missing_path_on_tree.rb
+++ b/app/controllers/concerns/redirects_for_missing_path_on_tree.rb
@@ -8,7 +8,7 @@ module RedirectsForMissingPathOnTree
private
def missing_path_on_ref(path, ref)
- _('"%{path}" did not exist on "%{ref}"') % { path: truncate_path(path), ref: ref }
+ format(_('"%{path}" did not exist on "%{ref}"'), path: truncate_path(path), ref: ref)
end
def truncate_path(path)