diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2023-12-26 15:47:43 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2023-12-26 15:47:43 +0000 |
commit | a9b7f12900ff7811d056a848fd90df50e57767f6 (patch) | |
tree | ccaabe63f646c64e9f8b477536953298f36554b2 /app | |
parent | 5a5c621f43ab70331494e3e84527ba72484b416b (diff) | |
download | redmine-a9b7f12900ff7811d056a848fd90df50e57767f6.tar.gz redmine-a9b7f12900ff7811d056a848fd90df50e57767f6.zip |
Fixes that diff of a javascript file in repository module is not displayed with layout in Rails 7.1
(#39747, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22563 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/repositories/diff.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/diff.html.erb b/app/views/repositories/diff.html.erb index 3dcc0fdc7..3551c38c4 100644 --- a/app/views/repositories/diff.html.erb +++ b/app/views/repositories/diff.html.erb @@ -48,7 +48,7 @@ <% end -%> <% other_formats_links do |f| %> - <%= f.link_to_with_query_parameters 'Diff', {}, :caption => 'Unified diff' %> + <%= f.link_to_with_query_parameters 'Diff', { path: nil }, :caption => 'Unified diff' %> <% end %> <% html_title(with_leading_slash(@path), 'Diff') -%> |