From 66db167225f6daa747df61de10293f9a8f4662c1 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sun, 2 Oct 2022 12:48:19 +0000 Subject: Merge r21886 to 5.0-stable (#37626). git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21887 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/repositories_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 003fb3b6c..0493d587e 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -286,7 +286,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 + # TODO: Fix DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated render :diff, :formats => :html, :layout => 'base.html.erb' end end -- cgit v1.2.3