Revert r21883 which was an workaround for #37626 (#37732, #36320).

git-svn-id: https://svn.redmine.org/redmine/trunk@22489 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2023-11-29 07:11:50 +00:00
parent 7b911245d3
commit 54afecb2ca

View File

@@ -288,8 +288,7 @@ class RepositoriesController < ApplicationController
@changeset = @repository.find_changeset_by_name(@rev)
@changeset_to = @rev_to ? @repository.find_changeset_by_name(@rev_to) : nil
@diff_format_revisions = @repository.diff_format_revisions(@changeset, @changeset_to)
# TODO: Fix DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated
render :diff, :formats => :html, :layout => 'base.html.erb'
render :diff, :formats => :html
end
end