]> source.dussan.org Git - redmine.git/commitdiff
Merge r21883-r21884 from trunk to 5.0-stable (#37626).
authorMarius Balteanu <marius.balteanu@zitec.com>
Sun, 2 Oct 2022 11:49:11 +0000 (11:49 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sun, 2 Oct 2022 11:49:11 +0000 (11:49 +0000)
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21885 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/repositories_controller.rb

index ff1230c88306aa3275ee9a72a31b84419bc052e2..003fb3b6c41a9a47152f00f10a71a39c3a6c7215 100644 (file)
@@ -286,7 +286,8 @@ 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)
-      render :diff, :formats => :html, :layout => 'base'
+      # ToDo: Fix DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated
+      render :diff, :formats => :html, :layout => 'base.html.erb'
     end
   end