]> source.dussan.org Git - redmine.git/commitdiff
Revert r21883 which was an workaround for #37626 (#37732, #36320).
authorMarius Balteanu <marius.balteanu@zitec.com>
Wed, 29 Nov 2023 07:11:50 +0000 (07:11 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Wed, 29 Nov 2023 07:11:50 +0000 (07:11 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22489 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/repositories_controller.rb

index b362bc1528ef713b8b96c14ab8d5453cc1216955..07829c58d478ba5184275289181326e96f2403b1 100644 (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