Browse Source

Fix rubocop warning (#37626).



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

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

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

Loading…
Cancel
Save