summaryrefslogtreecommitdiffstats
path: root/app/views/repositories/diff.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/repositories/diff.html.erb')
-rw-r--r--app/views/repositories/diff.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/diff.html.erb b/app/views/repositories/diff.html.erb
index 5d0b899a7..889a65f7e 100644
--- a/app/views/repositories/diff.html.erb
+++ b/app/views/repositories/diff.html.erb
@@ -21,7 +21,7 @@
<% end -%>
<% other_formats_links do |f| %>
- <%= f.link_to 'Diff', :url => params, :caption => 'Unified diff' %>
+ <%= f.link_to_with_query_parameters 'Diff', {}, :caption => 'Unified diff' %>
<% end %>
<% html_title(with_leading_slash(@path), 'Diff') -%>