浏览代码

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年前
父节点
当前提交
e9adf8088d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      app/controllers/repositories_controller.rb

+ 1
- 0
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

正在加载...
取消
保存