Browse Source

Add to do to fix the deprecation warning (#37626).

git-svn-id: https://svn.redmine.org/redmine/trunk@21884 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.1.0
Marius Balteanu 1 year ago
parent
commit
e9adf8088d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      app/controllers/repositories_controller.rb

+ 1
- 0
app/controllers/repositories_controller.rb View File

@@ -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

Loading…
Cancel
Save