summaryrefslogtreecommitdiffstats
path: root/app/controllers/repositories_controller.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-10-02 09:59:11 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-10-02 09:59:11 +0000
commite9adf8088d92d1db66db7546684e12f7b2cd0f89 (patch)
tree94ef59198e257834318c12399fa13c196453f9a9 /app/controllers/repositories_controller.rb
parentdc54c7a72129127d410b7f69b683e88ade2103e0 (diff)
downloadredmine-e9adf8088d92d1db66db7546684e12f7b2cd0f89.tar.gz
redmine-e9adf8088d92d1db66db7546684e12f7b2cd0f89.zip
Add to do to fix the deprecation warning (#37626).
git-svn-id: https://svn.redmine.org/redmine/trunk@21884 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/repositories_controller.rb')
-rw-r--r--app/controllers/repositories_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb
index 56be9d526..003fb3b6c 100644
--- a/app/controllers/repositories_controller.rb
+++ b/app/controllers/repositories_controller.rb
@@ -286,6 +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
render :diff, :formats => :html, :layout => 'base.html.erb'
end
end